Support Forum G3D Web Page |
Merges meshes within the part based on their Materials. More...
Inherits G3D::ArticulatedModel::PartCallback.
Public Member Functions | |
MeshMergeCallback (float r, float t) | |
virtual void | operator() (ArticulatedModel::Part *part, const CFrame &worldToPartFrame, shared_ptr< ArticulatedModel > m, const int treeDepth) override |
Override to implement processing of part. More... | |
Public Attributes | |
float | opaqueRadius |
float | transmissiveRadius |
Merges meshes within the part based on their Materials.
Does not update bounds or GPU VertexRanges.
|
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.
float G3D::ArticulatedModel::MeshMergeCallback::opaqueRadius |
float G3D::ArticulatedModel::MeshMergeCallback::transmissiveRadius |