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

Base Hydrax mesh options. More...

#include <Mesh.h>

+ Collaboration diagram for Hydrax::Mesh::Options:

Public Member Functions

 Options ()
 Constructor. More...
 
 Options (const int &meshComplexity, const Size &meshSize, const VertexType &meshVertexType)
 Constructor. More...
 
 Options (const int &meshComplexity, const Size &meshSize, const float &meshStrength, const VertexType &meshVertexType)
 Constructor. More...
 

Data Fields

int MeshComplexity
 Mesh complexity. More...
 
Size MeshSize
 Grid size (X/Z) world space. More...
 
float MeshStrength
 Water strength. More...
 
VertexType MeshVertexType
 Vertex type. More...
 

Detailed Description

Base Hydrax mesh options.

Definition at line 93 of file Mesh.h.

Constructor & Destructor Documentation

◆ Options() [1/3]

Hydrax::Mesh::Options::Options ( )
inline

Constructor.

Definition at line 97 of file Mesh.h.

◆ Options() [2/3]

Hydrax::Mesh::Options::Options ( const int &  meshComplexity,
const Size meshSize,
const VertexType meshVertexType 
)
inline

Constructor.

Parameters
meshComplexityGrid complexity
meshSizegrid size (X/Z) world space.
meshVertexTypeMesh::VertexType

Definition at line 110 of file Mesh.h.

◆ Options() [3/3]

Hydrax::Mesh::Options::Options ( const int &  meshComplexity,
const Size meshSize,
const float &  meshStrength,
const VertexType meshVertexType 
)
inline

Constructor.

Parameters
meshComplexityGrid complexity
meshSizegrid size (X/Z) world space.
meshStrengthWater strength(Y axis multiplier)
meshVertexTypeMesh::VertexType

Definition at line 124 of file Mesh.h.

Field Documentation

◆ MeshComplexity

int Hydrax::Mesh::Options::MeshComplexity

Mesh complexity.

Definition at line 133 of file Mesh.h.

◆ MeshSize

Size Hydrax::Mesh::Options::MeshSize

Grid size (X/Z) world space.

Definition at line 135 of file Mesh.h.

◆ MeshStrength

float Hydrax::Mesh::Options::MeshStrength

Water strength.

Definition at line 137 of file Mesh.h.

◆ MeshVertexType

VertexType Hydrax::Mesh::Options::MeshVertexType

Vertex type.

Definition at line 139 of file Mesh.h.


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