APEX Destructible Module: FractureTools::CutoutParameters Struct Reference

NVIDIA APEX

FractureTools::CutoutParameters Struct Reference

#include <FractureToolsStructs.h>

List of all members.

Public Member Functions

 CutoutParameters ()
void setToDefault ()

Public Attributes

float depth
nvidia::FractureMaterialDesc materialDesc
NoiseParameters backfaceNoise
NoiseParameters edgeNoise

Detailed Description

CutoutParameters

Parameters for a single cutout direction.


Constructor & Destructor Documentation

FractureTools::CutoutParameters::CutoutParameters ( ) [inline]

Constructor sets defaults


Member Function Documentation

void FractureTools::CutoutParameters::setToDefault ( ) [inline]

Set default values:

depth = 1.0f; backfaceNoise.setToDefault(); edgeNoise.setToDefault(); materialDesc.setToDefault();


Member Data Documentation

Describes the characteristics of the backface cutting surface (along the various cutout directions). If the noise is 0, the cutting surface will be a plane. Otherwise, there will be some variation, or roughness, to the surface.

The depth to apply cutout fracturing. 0 has a special value; it means cut all the way through

Describes the characteristics of the perimeter cutting surfaces (for the various cutout directions). If the noise is 0, the cutting surface will smooth. Otherwise, there will be some variation, or roughness, to the surface.

Note: this noise is applied only to the graphics of the cutout chunks. The chunks' collision volumes AND the chunks' children (if fractured further) will NOT be affected by this noise.

nvidia::FractureMaterialDesc FractureTools::CutoutParameters::materialDesc

Material application descriptor used for the cutout direction. Note: The backface slice will use the U-direction and UV offset specified in each descriptor, however the cutout slices (surrounding each cutout chunk) will ignore these fields (only using the UV scale).


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

Generated on Fri Dec 15 2017 13:58:22
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.