Consists of static mesh, representing the rim, and dynamic mesh, representing the tire.
More...
#include <FlexMeshWheel.h>
|
| FlexMeshWheel (Ogre::Entity *rim_prop_entity, Ogre::SceneNode *rim_scene_node, RoR::GfxActor *gfx_actor, int axis_node_1_index, int axis_node_2_index, int nstart, int nrays, std::string const &tire_mesh_name, std::string const &tire_mesh_rg, std::string const &tire_material_name, std::string const &tire_material_rg, float rimradius, bool rimreverse) |
|
Consists of static mesh, representing the rim, and dynamic mesh, representing the tire.
Definition at line 40 of file FlexMeshWheel.h.
◆ ~FlexMeshWheel()
FlexMeshWheel::~FlexMeshWheel |
( |
| ) |
|
◆ FlexMeshWheel()
FlexMeshWheel::FlexMeshWheel |
( |
Ogre::Entity * |
rim_prop_entity, |
|
|
Ogre::SceneNode * |
rim_scene_node, |
|
|
RoR::GfxActor * |
gfx_actor, |
|
|
int |
axis_node_1_index, |
|
|
int |
axis_node_2_index, |
|
|
int |
nstart, |
|
|
int |
nrays, |
|
|
std::string const & |
tire_mesh_name, |
|
|
std::string const & |
tire_mesh_rg, |
|
|
std::string const & |
tire_material_name, |
|
|
std::string const & |
tire_material_rg, |
|
|
float |
rimradius, |
|
|
bool |
rimreverse |
|
) |
| |
|
private |
◆ flexitCompute()
void FlexMeshWheel::flexitCompute |
( |
| ) |
|
|
virtual |
◆ flexitFinal()
Vector3 FlexMeshWheel::flexitFinal |
( |
| ) |
|
|
virtual |
◆ flexitPrepare()
bool FlexMeshWheel::flexitPrepare |
( |
| ) |
|
|
virtual |
◆ GetTireEntity()
Ogre::Entity* RoR::FlexMeshWheel::GetTireEntity |
( |
| ) |
|
|
inline |
◆ setVisible()
void FlexMeshWheel::setVisible |
( |
bool |
visible | ) |
|
|
virtual |
◆ updateVertices()
Vector3 FlexMeshWheel::updateVertices |
( |
| ) |
|
◆ RoR::FlexFactory
◆ m_axis_node0_idx
int RoR::FlexMeshWheel::m_axis_node0_idx |
|
private |
◆ m_axis_node1_idx
int RoR::FlexMeshWheel::m_axis_node1_idx |
|
private |
◆ m_flexit_center
Ogre::Vector3 RoR::FlexMeshWheel::m_flexit_center |
|
private |
◆ m_gfx_actor
◆ m_hw_vbuf
Ogre::HardwareVertexBufferSharedPtr RoR::FlexMeshWheel::m_hw_vbuf |
|
private |
◆ m_index_count
size_t RoR::FlexMeshWheel::m_index_count |
|
private |
◆ m_indices
std::vector<unsigned short> RoR::FlexMeshWheel::m_indices |
|
private |
◆ m_is_rim_reverse
bool RoR::FlexMeshWheel::m_is_rim_reverse |
|
private |
◆ m_mesh
Ogre::MeshPtr RoR::FlexMeshWheel::m_mesh |
|
private |
◆ m_norm_y
float RoR::FlexMeshWheel::m_norm_y |
|
private |
◆ m_num_rays
size_t RoR::FlexMeshWheel::m_num_rays |
|
private |
◆ m_rim_entity
Ogre::Entity* RoR::FlexMeshWheel::m_rim_entity |
|
private |
◆ m_rim_radius
float RoR::FlexMeshWheel::m_rim_radius |
|
private |
◆ m_rim_scene_node
Ogre::SceneNode* RoR::FlexMeshWheel::m_rim_scene_node |
|
private |
◆ m_start_node_idx
int RoR::FlexMeshWheel::m_start_node_idx |
|
private |
First node (lowest index) belonging to this wheel.
Definition at line 90 of file FlexMeshWheel.h.
◆ m_submesh
Ogre::SubMesh* RoR::FlexMeshWheel::m_submesh |
|
private |
◆ m_tire_entity
Ogre::Entity* RoR::FlexMeshWheel::m_tire_entity |
|
private |
◆ m_vertex_count
size_t RoR::FlexMeshWheel::m_vertex_count |
|
private |
◆ m_vertex_format
Ogre::VertexDeclaration* RoR::FlexMeshWheel::m_vertex_format |
|
private |
◆ m_vertices
The documentation for this class was generated from the following files: