Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
Hydrax::Module::ProjectedGrid::Options Struct Reference

Description

Struct wich contains Hydrax projected grid module options.

Definition at line 55 of file ProjectedGrid.h.

Public Member Functions

 Options ()
 
 Options (const int &_Complexity)
 
 Options (const int &_Complexity, const float &_Strength, const float &_Elevation, const bool &_Smooth)
 
 Options (const int &_Complexity, const float &_Strength, const float &_Elevation, const bool &_Smooth, const bool &_ForceRecalculateGeometry, const bool &_ChoppyWaves, const float &_ChoppyStrength)
 

Data Fields

int Complexity
 
float Strength
 
float Elevation
 
bool Smooth
 
bool ForceRecalculateGeometry
 
bool ChoppyWaves
 
float ChoppyStrength
 

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: