#include <FlexFactory.h>
|
| FlexFactory () |
|
| FlexFactory (ActorSpawner *spawner) |
|
FlexBody * | CreateFlexBody (FlexbodyID_t flexbody_id, const NodeNum_t ref_node, const NodeNum_t x_node, const NodeNum_t y_node, Ogre::Vector3 offset, Ogre::Vector3 rotation, std::vector< unsigned int > &node_indices, const std::string &mesh_name, const std::string &resource_group_name) |
|
FlexMeshWheel * | CreateFlexMeshWheel (unsigned int wheel_index, int axis_node_1_index, int axis_node_2_index, int nstart, int nrays, float rim_radius, bool rim_reverse, std::string const &rim_mesh_name, std::string const &rim_mesh_rg, std::string const &tire_material_name, std::string const &tire_material_rg) |
|
void | CheckAndLoadFlexbodyCache () |
|
void | SaveFlexbodiesToCache () |
|
Definition at line 163 of file FlexFactory.h.
◆ FlexFactory() [1/2]
RoR::FlexFactory::FlexFactory |
( |
| ) |
|
|
inline |
◆ FlexFactory() [2/2]
◆ CheckAndLoadFlexbodyCache()
void FlexFactory::CheckAndLoadFlexbodyCache |
( |
| ) |
|
◆ CreateFlexBody()
FlexBody * FlexFactory::CreateFlexBody |
( |
FlexbodyID_t |
flexbody_id, |
|
|
const NodeNum_t |
ref_node, |
|
|
const NodeNum_t |
x_node, |
|
|
const NodeNum_t |
y_node, |
|
|
Ogre::Vector3 |
offset, |
|
|
Ogre::Vector3 |
rotation, |
|
|
std::vector< unsigned int > & |
node_indices, |
|
|
const std::string & |
mesh_name, |
|
|
const std::string & |
resource_group_name |
|
) |
| |
◆ CreateFlexMeshWheel()
FlexMeshWheel * FlexFactory::CreateFlexMeshWheel |
( |
unsigned int |
wheel_index, |
|
|
int |
axis_node_1_index, |
|
|
int |
axis_node_2_index, |
|
|
int |
nstart, |
|
|
int |
nrays, |
|
|
float |
rim_radius, |
|
|
bool |
rim_reverse, |
|
|
std::string const & |
rim_mesh_name, |
|
|
std::string const & |
rim_mesh_rg, |
|
|
std::string const & |
tire_material_name, |
|
|
std::string const & |
tire_material_rg |
|
) |
| |
◆ SaveFlexbodiesToCache()
void FlexFactory::SaveFlexbodiesToCache |
( |
| ) |
|
◆ m_flexbody_cache
◆ m_flexbody_cache_next_index
unsigned int RoR::FlexFactory::m_flexbody_cache_next_index |
|
private |
◆ m_is_flexbody_cache_enabled
bool RoR::FlexFactory::m_is_flexbody_cache_enabled |
|
private |
◆ m_is_flexbody_cache_loaded
bool RoR::FlexFactory::m_is_flexbody_cache_loaded |
|
private |
◆ m_rig_spawner
The documentation for this class was generated from the following files: