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

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

#include <RadialGrid.h>

Public Member Functions

 Options ()
 Default constructor. More...
 
 Options (const int &_Steps, const int &_Circles, const float &_Radius)
 Constructor. More...
 
 Options (const int &_Steps, const int &_Circles, const float &_Radius, const bool &_Smooth, const bool &_ChoppyWaves, const float &_ChoppyStrength, const float &_StepSizeCube, const float &_StepSizeFive, const float &_StepSizeLin, const float &_Strength)
 Constructor. More...
 

Data Fields

int Steps
 Number of steps (Per circle) More...
 
int Circles
 Number of circles. More...
 
float Radius
 Radius (In world units) More...
 
bool Smooth
 Smooth. More...
 
bool ChoppyWaves
 Choppy waves. More...
 
float ChoppyStrength
 Choppy waves strength. More...
 
float StepSizeCube
 Step cube size. More...
 
float StepSizeFive
 Step size five. More...
 
float StepSizeLin
 Step lin size. More...
 
float Strength
 Water strength. More...
 

Detailed Description

Struct wich contains Hydrax simple grid module options.

Definition at line 49 of file RadialGrid.h.

Constructor & Destructor Documentation

◆ Options() [1/3]

Hydrax::Module::RadialGrid::Options::Options ( )
inline

Default constructor.

Definition at line 74 of file RadialGrid.h.

◆ Options() [2/3]

Hydrax::Module::RadialGrid::Options::Options ( const int &  _Steps,
const int &  _Circles,
const float &  _Radius 
)
inline

Constructor.

Parameters
_StepsNumber of steps per circle
_CirclesNumber of circles
_RadiusMesh radius

Definition at line 93 of file RadialGrid.h.

◆ Options() [3/3]

Hydrax::Module::RadialGrid::Options::Options ( const int &  _Steps,
const int &  _Circles,
const float &  _Radius,
const bool &  _Smooth,
const bool &  _ChoppyWaves,
const float &  _ChoppyStrength,
const float &  _StepSizeCube,
const float &  _StepSizeFive,
const float &  _StepSizeLin,
const float &  _Strength 
)
inline

Constructor.

Parameters
_StepsNumber of steps per circle
_CirclesNumber of circles
_RadiusMesh radius
_SmoothSmooth vertex?
_ChoppyWavesChoppy waves enabled? Note: Only with Materialmanager::NM_VERTEX normal mode.
_ChoppyStrengthChoppy waves strength Note: Only with Materialmanager::NM_VERTEX normal mode.
_StepSizeCubeStep cube size
_StepSizeFiveStep five size
_StepSizeLinStep lin size
_StrengthWater strength

Definition at line 121 of file RadialGrid.h.

Field Documentation

◆ ChoppyStrength

float Hydrax::Module::RadialGrid::Options::ChoppyStrength

Choppy waves strength.

Definition at line 62 of file RadialGrid.h.

◆ ChoppyWaves

bool Hydrax::Module::RadialGrid::Options::ChoppyWaves

Choppy waves.

Definition at line 60 of file RadialGrid.h.

◆ Circles

int Hydrax::Module::RadialGrid::Options::Circles

Number of circles.

Definition at line 54 of file RadialGrid.h.

◆ Radius

float Hydrax::Module::RadialGrid::Options::Radius

Radius (In world units)

Definition at line 56 of file RadialGrid.h.

◆ Smooth

bool Hydrax::Module::RadialGrid::Options::Smooth

Smooth.

Definition at line 58 of file RadialGrid.h.

◆ Steps

int Hydrax::Module::RadialGrid::Options::Steps

Number of steps (Per circle)

Definition at line 52 of file RadialGrid.h.

◆ StepSizeCube

float Hydrax::Module::RadialGrid::Options::StepSizeCube

Step cube size.

Definition at line 64 of file RadialGrid.h.

◆ StepSizeFive

float Hydrax::Module::RadialGrid::Options::StepSizeFive

Step size five.

Definition at line 66 of file RadialGrid.h.

◆ StepSizeLin

float Hydrax::Module::RadialGrid::Options::StepSizeLin

Step lin size.

Definition at line 68 of file RadialGrid.h.

◆ Strength

float Hydrax::Module::RadialGrid::Options::Strength

Water strength.

Definition at line 70 of file RadialGrid.h.


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