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

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

#include <SimpleGrid.h>

+ Collaboration diagram for Hydrax::Module::SimpleGrid::Options:

Public Member Functions

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

Data Fields

int Complexity
 Projected grid complexity (N*N) More...
 
Size MeshSize
 Size. More...
 
float Strength
 Strength. More...
 
bool Smooth
 Smooth. More...
 
bool ChoppyWaves
 Choppy waves. More...
 
float ChoppyStrength
 Choppy waves strength. More...
 

Detailed Description

Struct wich contains Hydrax simple grid module options.

Definition at line 49 of file SimpleGrid.h.

Constructor & Destructor Documentation

◆ Options() [1/3]

Hydrax::Module::SimpleGrid::Options::Options ( )
inline

Default constructor.

Definition at line 66 of file SimpleGrid.h.

◆ Options() [2/3]

Hydrax::Module::SimpleGrid::Options::Options ( const int &  _Complexity,
const Size _MeshSize 
)
inline

Constructor.

Parameters
_ComplexityProjected grid complexity
_MeshSizeWater mesh size

Definition at line 80 of file SimpleGrid.h.

◆ Options() [3/3]

Hydrax::Module::SimpleGrid::Options::Options ( const int &  _Complexity,
const Size _MeshSize,
const float &  _Strength,
const bool &  _Smooth,
const bool &  _ChoppyWaves,
const float &  _ChoppyStrength 
)
inline

Constructor.

Parameters
_ComplexityProjected grid complexity
_MeshSizeWater mesh size
_StrengthPerlin noise strength
_SmoothSmooth vertex?
_ChoppyWavesChoppy waves enabled? Note: Only with Materialmanager::NM_VERTEX normal mode.
_ChoppyStrengthChoppy waves strength Note: Only with Materialmanager::NM_VERTEX normal mode.

Definition at line 99 of file SimpleGrid.h.

Field Documentation

◆ ChoppyStrength

float Hydrax::Module::SimpleGrid::Options::ChoppyStrength

Choppy waves strength.

Definition at line 62 of file SimpleGrid.h.

◆ ChoppyWaves

bool Hydrax::Module::SimpleGrid::Options::ChoppyWaves

Choppy waves.

Definition at line 60 of file SimpleGrid.h.

◆ Complexity

int Hydrax::Module::SimpleGrid::Options::Complexity

Projected grid complexity (N*N)

Definition at line 52 of file SimpleGrid.h.

◆ MeshSize

Size Hydrax::Module::SimpleGrid::Options::MeshSize

Size.

Definition at line 54 of file SimpleGrid.h.

◆ Smooth

bool Hydrax::Module::SimpleGrid::Options::Smooth

Smooth.

Definition at line 58 of file SimpleGrid.h.

◆ Strength

float Hydrax::Module::SimpleGrid::Options::Strength

Strength.

Definition at line 56 of file SimpleGrid.h.


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