SubGeometryBase
SubGeometryBase base object for (CompactSubGeometry), (SubGeometry).
Has properties:
|
autoDeriveVertexNormals |
True if the vertex normals should be derived from the geometry, false if the vertex normals are set explicitly. Boolean |
|
autoDeriveVertexTangents |
True if the vertex tangents should be derived from the geometry, false if the vertex normals are set explicitly. Boolean |
|
autoGenerateDummyUVs |
Defines whether a UV buffer should be automatically generated to contain dummy UV coordinates. Boolean |
|
numTriangles |
[read-only] The total amount of triangles in the SubGeometry. |
|
parentGeometry |
(Geometry) |
|
scaleU |
[read-only] Scales the uv coordinates |
|
scaleV |
[read-only] |
|
useFaceWeights |
Indicates whether or not to take the size of faces into account when auto-deriving vertex normals and tangents. Boolean |
|
UVData |
[read-only] Vector array of numbers |
|
UVOffset |
[read-only] Int |
|
UVStride |
[read-only] Int |
|
vertexData |
[read-only] Vector array of numbers |
|
vertexNormalData |
[read-only] Vector array of numbers |
|
vertexNormalOffset |
[read-only] Int |
|
vertexNormalStride |
[read-only] Int |
|
vertexOffset |
[read-only] Int |
|
vertexPositionData |
[read-only] Vector array of numbers |
|
vertexStride |
[read-only] Int |
|
vertexTangentData |
[read-only] Vector array of numbers |
|
vertexTangentOffset |
[read-only] Int |
|
vertexTangentStride |
[read-only] Int |
methods:
|
applyTransformation(transform) |
|
transform - (Matrix3D) |
|
dispose() |
|
|
|
getIndexBuffer(stage3DProxy) |
Retrieves the IndexBuffer3D object that contains triangle indices. |
stage3DProxy - The Context3D for which we request the buffer (Stage3DProxy) |
|
scale(scale) |
Scales the geometry. |
scale - The amount by which to scale. |
|
scaleUV(scaleU, scaleV) |
|
scaleU - (default = 1) scaleV - (default = 1) |
|
updateIndexData(indices) |
Updates the face indices of the SubGeometry. |
indices - The face indices to upload. vector array of Int |
Created with the Personal Edition of HelpNDoc: Easily create Help documents