RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
Hydrax::Module::ProjectedGrid::Options Struct Reference

Struct wich contains Hydrax projected grid module options. More...

#include <ProjectedGrid.h>

Public Member Functions

 Options ()
 Default constructor. More...
 
 Options (const int &_Complexity)
 Constructor. More...
 
 Options (const int &_Complexity, const float &_Strength, const float &_Elevation, const bool &_Smooth)
 Constructor. More...
 
 Options (const int &_Complexity, const float &_Strength, const float &_Elevation, const bool &_Smooth, const bool &_ForceRecalculateGeometry, const bool &_ChoppyWaves, const float &_ChoppyStrength)
 Constructor. More...
 

Data Fields

int Complexity
 Projected grid complexity (N*N) More...
 
float Strength
 Strength. More...
 
float Elevation
 Elevation. More...
 
bool Smooth
 Smooth. More...
 
bool ForceRecalculateGeometry
 Force recalculate mesh geometry each frame. More...
 
bool ChoppyWaves
 Choppy waves. More...
 
float ChoppyStrength
 Choppy waves strength. More...
 

Detailed Description

Struct wich contains Hydrax projected grid module options.

Definition at line 55 of file ProjectedGrid.h.

Constructor & Destructor Documentation

◆ Options() [1/4]

Hydrax::Module::ProjectedGrid::Options::Options ( )
inline

Default constructor.

Definition at line 74 of file ProjectedGrid.h.

◆ Options() [2/4]

Hydrax::Module::ProjectedGrid::Options::Options ( const int &  _Complexity)
inline

Constructor.

Parameters
_ComplexityProjected grid complexity

Definition at line 88 of file ProjectedGrid.h.

◆ Options() [3/4]

Hydrax::Module::ProjectedGrid::Options::Options ( const int &  _Complexity,
const float &  _Strength,
const float &  _Elevation,
const bool &  _Smooth 
)
inline

Constructor.

Parameters
_ComplexityProjected grid complexity
_StrengthPerlin noise strength
_ElevationElevation
_SmoothSmooth vertex?

Definition at line 105 of file ProjectedGrid.h.

◆ Options() [4/4]

Hydrax::Module::ProjectedGrid::Options::Options ( const int &  _Complexity,
const float &  _Strength,
const float &  _Elevation,
const bool &  _Smooth,
const bool &  _ForceRecalculateGeometry,
const bool &  _ChoppyWaves,
const float &  _ChoppyStrength 
)
inline

Constructor.

Parameters
_ComplexityProjected grid complexity
_StrengthPerlin noise strength
_ElevationElevation
_SmoothSmooth vertex?
_ForceRecalculateGeometryForce to recalculate the projected grid geometry each frame
_ChoppyWavesChoppy waves enabled? Note: Only with Materialmanager::NM_VERTEX normal mode.
_ChoppyStrengthChoppy waves strength

Definition at line 128 of file ProjectedGrid.h.

Field Documentation

◆ ChoppyStrength

float Hydrax::Module::ProjectedGrid::Options::ChoppyStrength

Choppy waves strength.

Definition at line 70 of file ProjectedGrid.h.

◆ ChoppyWaves

bool Hydrax::Module::ProjectedGrid::Options::ChoppyWaves

Choppy waves.

Definition at line 68 of file ProjectedGrid.h.

◆ Complexity

int Hydrax::Module::ProjectedGrid::Options::Complexity

Projected grid complexity (N*N)

Definition at line 58 of file ProjectedGrid.h.

◆ Elevation

float Hydrax::Module::ProjectedGrid::Options::Elevation

Elevation.

Definition at line 62 of file ProjectedGrid.h.

◆ ForceRecalculateGeometry

bool Hydrax::Module::ProjectedGrid::Options::ForceRecalculateGeometry

Force recalculate mesh geometry each frame.

Definition at line 66 of file ProjectedGrid.h.

◆ Smooth

bool Hydrax::Module::ProjectedGrid::Options::Smooth

Smooth.

Definition at line 64 of file ProjectedGrid.h.

◆ Strength

float Hydrax::Module::ProjectedGrid::Options::Strength

Strength.

Definition at line 60 of file ProjectedGrid.h.


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