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

#include <ExplicitHierarchicalMesh.h>

List of all members.

Public Member Functions

 FractureMaterialDesc ()
void setToDefault ()

Public Attributes

PxVec2 uvScale
PxVec2 uvOffset
PxVec3 tangent
float uAngle
uint32_t interiorSubmeshIndex

Detailed Description

FractureMaterialDesc

Descriptor for materials applied to interior faces.


Constructor & Destructor Documentation

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

Constructor sets defaults


Member Function Documentation

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;


Member Data Documentation

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


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

Generated on Tue Aug 1 2017 22:43:54

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