CompactSubGeometry
CompactSubGeometry inherited from SubGeometryBase.
Has properties:
numVertices |
[read-only] int |
secondaryUVOffset |
[read-only] int |
secondaryUVStride |
[read-only] int |
UVData |
[override] [read-only] vector array of numbers |
UVOffset |
[override] [read-only] int |
UVStride |
[override] [read-only] int |
vertexData |
[override] [read-only] vector array of numbers |
vertexNormalData |
[override] [read-only] vector array of numbers |
vertexNormalOffset |
[override] [read-only] int |
vertexNormalStride |
[override] [read-only] int |
vertexOffset |
[override] [read-only] int |
vertexPositionData |
[override] [read-only] vector array of numbers |
vertexStride |
[override] [read-only] int |
vertexTangentData |
[override] [read-only] vector array of numbers |
vertexTangentOffset |
[override] [read-only] int |
vertexTangentStride |
[override] [read-only] int |
methods:
activateSecondaryUVBuffer(index, stage3DProxy) |
|
index - int stage3DProxy - (Stage3DProxy) |
activateUVBuffer(index, stage3DProxy) |
|
index - int stage3DProxy - (Stage3DProxy) |
activateVertexBuffer(index, stage3DProxy) |
|
index - int stage3DProxy - (Stage3DProxy) |
activateVertexNormalBuffer(index, stage3DProxy) |
|
index - int stage3DProxy - (Stage3DProxy) |
activateVertexTangentBuffer(index, stage3DProxy) |
|
index - int stage3DProxy - (Stage3DProxy) |
applyTransformation(transform) |
[override] |
transform - (Matrix3D) |
clone() |
|
|
cloneWithSeperateBuffers() |
Returns (SubGeometry) |
|
dispose() |
[override] |
|
fromVectors(verts, uvs, normals, tangents) |
|
verts - Vector array of numbers uvs - Vector array of numbers normals - Vector array of numbers tangents - Vector array of numbers |
scale(scale) |
[override] |
scale - float |
scaleUV(scaleU, scaleV) |
[override] |
scaleU - (default = 1) scaleV - (default = 1) |
stripBuffer(offset, numEntries) |
Isolate and returns a Vector array of numbers of a specific buffer type - stripBuffer(0, 3), return only the vertices - stripBuffer(3, 3): return only the normals - stripBuffer(6, 3): return only the tangents - stripBuffer(9, 2): return only the uv's - stripBuffer(11, 2): return only the secondary uv's |
offset - int numEntries - int |
updateData(data) |
Updates the vertex data. |
data - Vector array of numbers |
Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework