Blender
V3.3
|
Go to the source code of this file.
Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btMultimaterialTriangleMeshShape (btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, bool buildBvh=true) | |
btMultimaterialTriangleMeshShape (btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, const btVector3 &bvhAabbMin, const btVector3 &bvhAabbMax, bool buildBvh=true) | |
optionally pass in a larger bvh aabb, used for quantization. This allows for deformations within this aabb More... | |
virtual | ~btMultimaterialTriangleMeshShape () |
virtual const char * | getName () const |
const btMaterial * | getMaterialProperties (int partID, int triIndex) |
Obtains the material for a specific triangle. More... | |
Variables | |
btMultimaterialTriangleMeshShape | __pad0__ |
This file was created by Alex Silverman. More... | |
BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
btMultimaterialTriangleMeshShape | ( | btStridingMeshInterface * | meshInterface, |
bool | useQuantizedAabbCompression, | ||
bool | buildBvh = true |
||
) |
Definition at line 33 of file btMultimaterialTriangleMeshShape.h.
References m_meshInterface, MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE, stride, and type.
btMultimaterialTriangleMeshShape | ( | btStridingMeshInterface * | meshInterface, |
bool | useQuantizedAabbCompression, | ||
const btVector3 & | bvhAabbMin, | ||
const btVector3 & | bvhAabbMax, | ||
bool | buildBvh = true |
||
) |
optionally pass in a larger bvh aabb, used for quantization. This allows for deformations within this aabb
Definition at line 65 of file btMultimaterialTriangleMeshShape.h.
References m_meshInterface, MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE, stride, and type.
const btMaterial * btMultimaterialTriangleMeshShape::getMaterialProperties | ( | int | partID, |
int | triIndex | ||
) |
Obtains the material for a specific triangle.
This file was created by Alex Silverman.
Obtains the material for a specific triangle
Definition at line 23 of file btMultimaterialTriangleMeshShape.cpp.
References btTriangleIndexVertexMaterialArray(), m_meshInterface, and numTriangles().
|
virtual |
Definition at line 109 of file btMultimaterialTriangleMeshShape.h.
|
virtual |
Definition at line 96 of file btMultimaterialTriangleMeshShape.h.
btMultimaterialTriangleMeshShape __pad0__ |
This file was created by Alex Silverman.
The BvhTriangleMaterialMeshShape extends the btBvhTriangleMeshShape. Its main contribution is the interface into a material array, which allows per-triangle friction and restitution.
Definition at line 26 of file btMultimaterialTriangleMeshShape.h.