![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
Class wich contains all funtions/variables related to Hydrax water mesh.
Data Structures | |
| struct | Options |
| struct | POS_NORM_UV_VERTEX |
| struct | POS_NORM_VERTEX |
| struct | POS_UV_VERTEX |
| struct | POS_VERTEX |
Public Types | |
| enum | VertexType |
Public Member Functions | |
| Mesh (Hydrax *h) | |
| ~Mesh () | |
| void | setOptions (const Options &Options) |
| void | setMaterialName (const Ogre::String &MaterialName) |
| void | create () |
| void | remove () |
| bool | updateGeometry (const int &numVer, void *verArray) |
| bool | isPointInGrid (const Ogre::Vector2 &Position) |
| Ogre::Vector2 | getGridPosition (const Ogre::Vector2 &Position) |
| const Ogre::Vector3 | getObjectSpacePosition (const Ogre::Vector3 &WorldSpacePosition) const |
| const Ogre::Vector3 | getWorldSpacePosition (const Ogre::Vector3 &ObjectSpacePosition) const |
| Ogre::MeshPtr | getMesh () |
| Ogre::SubMesh * | getSubMesh () |
| Ogre::Entity * | getEntity () |
| const Options & | getOptions () const |
| const Size & | getSize () const |
| const VertexType & | getVertexType () const |
| const int & | getNumFaces () const |
| const int & | getNumVertices () const |
| const Ogre::String & | getMaterialName () const |
| Ogre::HardwareVertexBufferSharedPtr & | getHardwareVertexBuffer () |
| Ogre::HardwareIndexBufferSharedPtr & | getHardwareIndexBuffer () |
| Ogre::SceneNode * | getSceneNode () |
| const bool & | isCreated () const |
Private Member Functions | |
| void | _createGeometry () |
Private Attributes | |
| Options | mOptions |
| bool | mCreated |
| Ogre::MeshPtr | mMesh |
| Ogre::SubMesh * | mSubMesh |
| Ogre::Entity * | mEntity |
| int | mNumFaces |
| int | mNumVertices |
| Ogre::HardwareVertexBufferSharedPtr | mVertexBuffer |
| Ogre::HardwareIndexBufferSharedPtr | mIndexBuffer |
| Ogre::SceneNode * | mSceneNode |
| Ogre::String | mMaterialName |
| Hydrax * | mHydrax |
| Hydrax::Mesh::Mesh | ( | Hydrax * | h | ) |
|
private |
| void Hydrax::Mesh::create | ( | ) |
Create our water mesh, geometry, entity, etc...
|
inline |
| Ogre::Vector2 Hydrax::Mesh::getGridPosition | ( | const Ogre::Vector2 & | Position | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| const Ogre::Vector3 Hydrax::Mesh::getObjectSpacePosition | ( | const Ogre::Vector3 & | WorldSpacePosition | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| const Ogre::Vector3 Hydrax::Mesh::getWorldSpacePosition | ( | const Ogre::Vector3 & | ObjectSpacePosition | ) | const |
|
inline |
Is _createGeometry() called?
| bool Hydrax::Mesh::isPointInGrid | ( | const Ogre::Vector2 & | Position | ) |
| void Hydrax::Mesh::setMaterialName | ( | const Ogre::String & | MaterialName | ) |
| void Hydrax::Mesh::setOptions | ( | const Options & | Options | ) |
| bool Hydrax::Mesh::updateGeometry | ( | const int & | numVer, |
| void * | verArray | ||
| ) |
|
private |
Is _createGeometry() called?
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |