RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
RoR::TObjEntry Struct Reference

#include <TObjFileFormat.h>

Public Member Functions

 TObjEntry ()
 
 TObjEntry (Ogre::Vector3 pos, Ogre::Vector3 rot, const char *instance_name, TObj::SpecialObject special, const char *type, const char *name)
 
bool IsActor () const
 
bool IsRoad () const
 

Data Fields

Ogre::Vector3 position = Ogre::Vector3::ZERO
 
Ogre::Vector3 rotation = Ogre::Vector3::ZERO
 
TObj::SpecialObject special = TObj::SpecialObject::NONE
 
char type [TObj::STR_LEN] = {}
 
char instance_name [TObj::STR_LEN] = {}
 
char odef_name [TObj::STR_LEN] = {}
 
float rendering_distance = 0.f
 

Detailed Description

Definition at line 134 of file TObjFileFormat.h.

Constructor & Destructor Documentation

◆ TObjEntry() [1/2]

RoR::TObjEntry::TObjEntry ( )
inline

Definition at line 136 of file TObjFileFormat.h.

◆ TObjEntry() [2/2]

TObjEntry::TObjEntry ( Ogre::Vector3  pos,
Ogre::Vector3  rot,
const char *  instance_name,
TObj::SpecialObject  special,
const char *  type,
const char *  name 
)

Definition at line 33 of file TObjFileFormat.cpp.

Member Function Documentation

◆ IsActor()

bool TObjEntry::IsActor ( ) const

Definition at line 48 of file TObjFileFormat.cpp.

◆ IsRoad()

bool TObjEntry::IsRoad ( ) const

Definition at line 43 of file TObjFileFormat.cpp.

Field Documentation

◆ instance_name

char RoR::TObjEntry::instance_name[TObj::STR_LEN] = {}

Definition at line 148 of file TObjFileFormat.h.

◆ odef_name

char RoR::TObjEntry::odef_name[TObj::STR_LEN] = {}

Definition at line 149 of file TObjFileFormat.h.

◆ position

Ogre::Vector3 RoR::TObjEntry::position = Ogre::Vector3::ZERO

Definition at line 144 of file TObjFileFormat.h.

◆ rendering_distance

float RoR::TObjEntry::rendering_distance = 0.f

Definition at line 150 of file TObjFileFormat.h.

◆ rotation

Ogre::Vector3 RoR::TObjEntry::rotation = Ogre::Vector3::ZERO

Definition at line 145 of file TObjFileFormat.h.

◆ special

Definition at line 146 of file TObjFileFormat.h.

◆ type

char RoR::TObjEntry::type[TObj::STR_LEN] = {}

Definition at line 147 of file TObjFileFormat.h.


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