Public Member Functions | Public Attributes
nvidia::apex::MaterialFrame Struct Reference

#include <ExplicitHierarchicalMesh.h>

List of all members.

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".

Detailed Description

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.


Constructor & Destructor Documentation

nvidia::apex::MaterialFrame::MaterialFrame ( ) [inline]

Member Function Documentation

void nvidia::apex::MaterialFrame::buildCoordinateSystemFromMaterialDesc ( const nvidia::FractureMaterialDesc &  materialDesc,
const PxPlane &  plane 
) [inline]

Builds coordinate system from material desc


Member Data Documentation

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.


The documentation for this struct was generated from the following file:

Generated on Sat Dec 1 2018 15:51:53

Copyright © 2012-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.