Cyrus Mod Loader
Loading...
Searching...
No Matches
MassShapeTemplate Class Reference

#include <MassShapeTemplate.h>

Inheritance diagram for MassShapeTemplate:
PropertyClass

Public Member Functions

float getFCenterOfMassX ()
 
void setFCenterOfMassX (float val)
 
float getFCenterOfMassY ()
 
void setFCenterOfMassY (float val)
 
float getFCenterOfMassZ ()
 
void setFCenterOfMassZ (float val)
 
MassShapeTemplate__MassShape getMassShape ()
 
void setMassShape (MassShapeTemplate__MassShape val)
 
float getFRadiusMeters ()
 
void setFRadiusMeters (float val)
 
int getCylinderDirection ()
 
void setCylinderDirection (int val)
 
float getFLength ()
 
void setFLength (float val)
 
float getFWidth ()
 
void setFWidth (float val)
 
float getFHeight ()
 
void setFHeight (float val)
 
float getFMassKilograms ()
 
void setFMassKilograms (float val)
 
- Public Member Functions inherited from PropertyClass
virtual char * getClassName ()=0
 Gets the class name of the derived class in the format class T[*].
 
virtual void * getPropertyList ()=0
 Constructs and caches the PropertyList for the derived class, adding all reflected members and member functions.
 
virtual bool copy (uint32_t a1)=0
 Copies the property class data.
 
virtual void * serialize (void *a2, uint32_t a3)=0
 Serializes the derived class's PropertyList as XML.
 
virtual bool onCreated ()=0
 Called when the PropertyClass is created.
 
template<typename T >
CYRUS T * as ()
 Casts this to a pointer of type T.
 
virtual void onPostLoad ()=0
 Called when the PropertyClass is loaded, i.e., initialize is called and onCreated has finished.
 
virtual void onFinalizeLoad ()=0
 
virtual bool shouldNotSerialize ()=0
 Determines if the PropertyClass should not be serialized.
 

Member Function Documentation

◆ getCylinderDirection()

int MassShapeTemplate::getCylinderDirection ( )
inline

◆ getFCenterOfMassX()

float MassShapeTemplate::getFCenterOfMassX ( )
inline

◆ getFCenterOfMassY()

float MassShapeTemplate::getFCenterOfMassY ( )
inline

◆ getFCenterOfMassZ()

float MassShapeTemplate::getFCenterOfMassZ ( )
inline

◆ getFHeight()

float MassShapeTemplate::getFHeight ( )
inline

◆ getFLength()

float MassShapeTemplate::getFLength ( )
inline

◆ getFMassKilograms()

float MassShapeTemplate::getFMassKilograms ( )
inline

◆ getFRadiusMeters()

float MassShapeTemplate::getFRadiusMeters ( )
inline

◆ getFWidth()

float MassShapeTemplate::getFWidth ( )
inline

◆ getMassShape()

MassShapeTemplate__MassShape MassShapeTemplate::getMassShape ( )
inline

◆ setCylinderDirection()

void MassShapeTemplate::setCylinderDirection ( int val)
inline

◆ setFCenterOfMassX()

void MassShapeTemplate::setFCenterOfMassX ( float val)
inline

◆ setFCenterOfMassY()

void MassShapeTemplate::setFCenterOfMassY ( float val)
inline

◆ setFCenterOfMassZ()

void MassShapeTemplate::setFCenterOfMassZ ( float val)
inline

◆ setFHeight()

void MassShapeTemplate::setFHeight ( float val)
inline

◆ setFLength()

void MassShapeTemplate::setFLength ( float val)
inline

◆ setFMassKilograms()

void MassShapeTemplate::setFMassKilograms ( float val)
inline

◆ setFRadiusMeters()

void MassShapeTemplate::setFRadiusMeters ( float val)
inline

◆ setFWidth()

void MassShapeTemplate::setFWidth ( float val)
inline

◆ setMassShape()

void MassShapeTemplate::setMassShape ( MassShapeTemplate__MassShape val)
inline