Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CModel::Prop Struct Reference

#include <Model.h>

Collaboration diagram for CModel::Prop:

Public Attributes

float m_MinHeight {0.0f}
 
float m_MaxHeight {0.0f}
 
const SPropPointm_Point {nullptr}
 Location of the prop point within its parent model, relative to either a bone in the parent model or to the parent model's origin. More...
 
std::unique_ptr< CModelAbstractm_Model
 Pointer to the model associated with this prop. More...
 
CObjectEntrym_ObjectEntry {nullptr}
 
bool m_Hidden {false}
 Should this prop be temporarily removed from rendering? More...
 
bool m_Selectable {true}
 

Member Data Documentation

◆ m_Hidden

bool CModel::Prop::m_Hidden {false}

Should this prop be temporarily removed from rendering?

◆ m_MaxHeight

float CModel::Prop::m_MaxHeight {0.0f}

◆ m_MinHeight

float CModel::Prop::m_MinHeight {0.0f}

◆ m_Model

std::unique_ptr<CModelAbstract> CModel::Prop::m_Model

Pointer to the model associated with this prop.

Note that the transform matrix held by this model is the full object-to-world space transform, taking into account all parent model positioning (see CModel::ValidatePosition for positioning logic).

See also
CModel::ValidatePosition

◆ m_ObjectEntry

CObjectEntry* CModel::Prop::m_ObjectEntry {nullptr}

◆ m_Point

const SPropPoint* CModel::Prop::m_Point {nullptr}

Location of the prop point within its parent model, relative to either a bone in the parent model or to the parent model's origin.

See the documentation for SPropPoint for more details.

See also
SPropPoint

◆ m_Selectable

bool CModel::Prop::m_Selectable {true}

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