Torque3D Documentation / _generateds / TSMesh::TSMeshVertexArray

TSMesh::TSMeshVertexArray

Engine/source/ts/tsMesh.h

More...

Public Functions

Returns base address of vertex data.

getBase(int idx)

Gets pointer to __TSMeshVertexBase for vertex idx.

getBone(int idx, int subBoneList)

Gets pointer to __TSMeshVertex_BoneData for vertex idx, additionally offsetted by subBoneList.

getColor(int idx)

Gets pointer to __TSMeshVertex_3xUVColor for vertex idx.

U8 *
bool
set(void * b, dsize_t s, U32 n, S32 inColorOffset, S32 inBoneOffset, bool nowOwnsData)
setReady(bool r)

Detailed Description

Protected Attributes

U8 * base 
U32 boneOffset 
U32 colorOffset 
U32 numElements 
bool ownsData 
bool vertexDataReady 
dsize_t vertSz 

Public Functions

TSMeshVertexArray()

~TSMeshVertexArray()

address()

Returns base address of vertex data.

getBase(int idx)

Gets pointer to __TSMeshVertexBase for vertex idx.

getBone(int idx, int subBoneList)

Gets pointer to __TSMeshVertex_BoneData for vertex idx, additionally offsetted by subBoneList.

getBoneOffset()

getColor(int idx)

Gets pointer to __TSMeshVertex_3xUVColor for vertex idx.

getColorOffset()

getPtr()

isReady()

mem_size()

set(void * b, dsize_t s, U32 n, S32 inColorOffset, S32 inBoneOffset, bool nowOwnsData)

setReady(bool r)

size()

vertSize()