APEX Destructible Module: FractureTools::NoiseParameters Struct Reference

NVIDIA APEX

FractureTools::NoiseParameters Struct Reference

#include <FractureToolsStructs.h>

List of all members.

Public Member Functions

 NoiseParameters ()
void setToDefault ()

Public Attributes

float amplitude
float frequency
int gridSize
int type

Detailed Description

NoiseParameters These parameters are used to build a splitting surface.


Constructor & Destructor Documentation

FractureTools::NoiseParameters::NoiseParameters ( ) [inline]

Constructor sets defaults


Member Function Documentation

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

Set default values:

amplitude = 0.0f; frequency = 0.25f; gridSize = 10; type = 0;


Member Data Documentation

Size of the fluctuations, relative to mesh size

Noise frequencey relative to 1/(grid spacing). On scales much smaller than this, the function is smooth. On scales much large, the function looks uncorrelated

Suggested number of grid elements across the mesh. The actual number may vary depending on the mesh's proportions.

Noise function to use. This parameter is currently unused. Noise is generated by superposition of many fourier modes in random directions, with frequencies randomly chosen in a band around the input frequency,


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.