Public Attributes

btMaterialProperties Struct Reference

This file was created by Alex Silverman. More...

#include <btTriangleIndexVertexMaterialArray.h>

List of all members.

Public Attributes

int m_numMaterials
 m_materialBase ==========> 2 btScalar values make up one material, friction then restitution
const unsigned char * m_materialBase
int m_materialStride
PHY_ScalarType m_materialType
int m_numTriangles
 m_numTriangles <=========== This exists in the btIndexedMesh object for the same subpart, but since we're padding the structure, it can be reproduced at no real cost m_triangleMaterials =====> 1 integer value makes up one entry eg: m_triangleMaterials[1] = 5; // This will set triangle 2 to use material 5
const unsigned char * m_triangleMaterialsBase
int m_triangleMaterialStride
PHY_ScalarType m_triangleType
 m_triangleType <========== Automatically set in addMaterialProperties

Detailed Description

This file was created by Alex Silverman.

Definition at line 24 of file btTriangleIndexVertexMaterialArray.h.


Member Data Documentation

Definition at line 28 of file btTriangleIndexVertexMaterialArray.h.

Definition at line 29 of file btTriangleIndexVertexMaterialArray.h.

Definition at line 30 of file btTriangleIndexVertexMaterialArray.h.

m_materialBase ==========> 2 btScalar values make up one material, friction then restitution

Definition at line 27 of file btTriangleIndexVertexMaterialArray.h.

m_numTriangles <=========== This exists in the btIndexedMesh object for the same subpart, but since we're padding the structure, it can be reproduced at no real cost m_triangleMaterials =====> 1 integer value makes up one entry eg: m_triangleMaterials[1] = 5; // This will set triangle 2 to use material 5

Definition at line 35 of file btTriangleIndexVertexMaterialArray.h.

Definition at line 36 of file btTriangleIndexVertexMaterialArray.h.

Definition at line 37 of file btTriangleIndexVertexMaterialArray.h.

m_triangleType <========== Automatically set in addMaterialProperties

Definition at line 39 of file btTriangleIndexVertexMaterialArray.h.


The documentation for this struct was generated from the following file: