#include <ExplicitHierarchicalMesh.h>
Public Member Functions | |
FractureMaterialDesc () | |
void | setToDefault () |
Public Attributes | |
PxVec2 | uvScale |
PxVec2 | uvOffset |
PxVec3 | tangent |
float | uAngle |
uint32_t | interiorSubmeshIndex |
Descriptor for materials applied to interior faces.
nvidia::apex::FractureMaterialDesc::FractureMaterialDesc | ( | ) | [inline] |
Constructor sets defaults
void nvidia::apex::FractureMaterialDesc::setToDefault | ( | ) | [inline] |
Set default values: uvScale = PxVec2(1.0f); uvOffset = PxVec2(0.0f); tangent = PxVec3(0.0f); uAngle = 0.0f; interiorSubmeshIndex = 0;
The submesh index to use for the newly-created triangles. If an invalid index is given, 0 will be used.
World space vector specifying surface tangent direction. If this vector is (0.0f,0.0f,0.0f), then an arbitrary direction will be chosen. Default = (0.0f,0.0f,0.0f).
Angle from tangent direction for the u coordinate axis. Default = 0.0f.
A UV origin offset for interior materials. Default = (0.0f,0.0f).
The UV scale (geometric distance/unit texture distance) for interior materials. Default = (1.0f,1.0f).