Support Forum G3D Web Page |
Rescales each part (and the position of its cframe) by a constant factor. More...
Inherits G3D::ArticulatedModel::PartCallback.
Public Member Functions | |
ScalePartTransformCallback (float s) | |
virtual void | operator() (ArticulatedModel::Part *part, const CFrame &partFrame, shared_ptr< ArticulatedModel > m, const int treeDepth) override |
Override to implement processing of part. More... | |
Rescales each part (and the position of its cframe) by a constant factor.
|
inline |
|
overridevirtual |
Override to implement processing of part.
worldToPartFrame | The net transformation in this pose from world space to part's object space |
treeDepth | depth in the hierarchy. 0 = a root |
Implements G3D::ArticulatedModel::PartCallback.