BulletTriangleIndexVertexArray (object)¶
The BulletIndexedMesh indexes a single vertex and index array. Multiple BulletIndexedMesh objects can be passed into a BulletTriangleIndexVertexArray using addIndexedMesh. Instead of the number of indices, we pass the number of triangles. The BulletTriangleIndexVertexArray allows to access multiple triangle meshes, by indexing into existing triangle/index arrays. Additional meshes can be added using addIndexedMesh No duplicate is made of the vertex/index data, it only indexes into external vertex/index arrays. So keep those arrays around during the lifetime of this BulletTriangleIndexVertexArray.
Methods¶
BulletTriangleIndexVertexArray ( in BulletTriangleIndexVertexArray other ) | |
BulletTriangleIndexVertexArray ( in Integer indices[], in Vec3 vertices[] ) | |
BulletTriangleIndexVertexArray () | |
__construct ! ( in Integer indices[], in Vec3 vertices[] ) | |
__destroy ! () | |
BulletTriangleIndexVertexArray | clone ? () |
Data | getPointer ? () |
~BulletTriangleIndexVertexArray () |
Methods in detail¶
BulletTriangleIndexVertexArray ( in BulletTriangleIndexVertexArray other )
copy constructor
BulletTriangleIndexVertexArray ( in Integer indices[], in Vec3 vertices[] )
BulletTriangleIndexVertexArray ()
default constructor
BulletTriangleIndexVertexArray.__construct! ( in Integer indices[], in Vec3 vertices[] )
BulletTriangleIndexVertexArray.__destroy! ()
BulletTriangleIndexVertexArray BulletTriangleIndexVertexArray.clone? ()
clone method
Data BulletTriangleIndexVertexArray.getPointer? ()