#include <ExplicitHierarchicalMesh.h>
Public Member Functions | |
MaterialFrame () | |
void | buildCoordinateSystemFromMaterialDesc (const nvidia::FractureMaterialDesc &materialDesc, const PxPlane &plane) |
Public Attributes | |
PxMat44 | mCoordinateSystem |
Coordinate system. | |
PxPlane | mUVPlane |
UV plane. | |
PxVec2 | mUVScale |
UV scale. | |
PxVec2 | mUVOffset |
UV offset. | |
uint32_t | mFractureMethod |
Fracture method. | |
int32_t | mFractureIndex |
Fracture index. | |
uint32_t | mSliceDepth |
The depth being created when this split is done. mSliceDepth = 0 means "unknown". |
A reference frame for applying UV mapping to triangles. Also includes the fracturing method and an index which is used internally for such operations as re-applying UV mapping information.
nvidia::apex::MaterialFrame::MaterialFrame | ( | ) | [inline] |
void nvidia::apex::MaterialFrame::buildCoordinateSystemFromMaterialDesc | ( | const nvidia::FractureMaterialDesc & | materialDesc, |
const PxPlane & | plane | ||
) | [inline] |
Builds coordinate system from material desc
Coordinate system.
Fracture index.
Fracture method.
The depth being created when this split is done. mSliceDepth = 0 means "unknown".
UV offset.
UV plane.
UV scale.