Bullet Physics 3D Block Toy
Public Attributes | List of all members
CInstanceDesc Class Reference

Instance descriptor. More...

#include <Descriptors.h>

Public Attributes

eMesh m_eMeshType = eMesh::Unknown
 Mesh type.
 
eModel m_eModelType = eModel::Unknown
 Model type.
 
Vector3 m_vPos
 Position.
 
Quaternion m_qOrientation
 Orientation.
 
float m_fScale = 1.0f
 Scale.
 
Vector3 m_vExtents
 Extents of primitive in Render World coordinates.
 
float m_fMass = 0.0f
 Mass.
 
float m_fRestitution = 0.5f
 Restitution.
 
float m_fFriction = 0.5f
 Friction.
 

Detailed Description

Describes properties of a mesh or model instance. There can be many instances of a mesh or model in a game, and these properties are the ones that can be varied from instance to instance.