Support Forum G3D Web Page |
The reference frame for a Mesh or Bone.
More...
Public Member Functions | |
~Part () | |
const Array< Part * > & | childArray () const |
void | debugPrint () const |
debugPrintf all of the geometry for this part. More... | |
void | intersectBox (shared_ptr< ArticulatedModel > am, const Box &box) |
bool | isRoot () const |
Part * | parent () const |
nullptr if this is a root of the model. More... | |
void | transformGeometry (shared_ptr< ArticulatedModel > am, const Matrix4 &xform) |
Public Attributes | |
CoordinateFrame | cframe |
Transformation from this object to the parent's frame in the rest pose. More... | |
CoordinateFrame | inverseBindPoseTransform |
String | name |
int | uniqueID |
Friends | |
class | _internal::AssimpNodesToArticulatedModelParts |
class | ArticulatedModel |
The reference frame for a Mesh or Bone.
May be referenced by multiple Meshes/Bones
G3D::ArticulatedModel::Part::~Part | ( | ) |
void G3D::ArticulatedModel::Part::debugPrint | ( | ) | const |
debugPrintf all of the geometry for this part.
void G3D::ArticulatedModel::Part::intersectBox | ( | shared_ptr< ArticulatedModel > | am, |
const Box & | box | ||
) |
|
inline |
|
inline |
nullptr if this is a root of the model.
void G3D::ArticulatedModel::Part::transformGeometry | ( | shared_ptr< ArticulatedModel > | am, |
const Matrix4 & | xform | ||
) |
|
friend |
|
friend |
CoordinateFrame G3D::ArticulatedModel::Part::cframe |
Transformation from this object to the parent's frame in the rest pose.
Also known as the "pivot".
CoordinateFrame G3D::ArticulatedModel::Part::inverseBindPoseTransform |
String G3D::ArticulatedModel::Part::name |
int G3D::ArticulatedModel::Part::uniqueID |