Graphics::Model class

Derived classes

class cMWModelInternal

Public functions

auto AddRef() -> int
auto Release() -> int
auto GetTransform() const -> Transform
void SetTransform(const Transform& transform)
auto GetModelWorld() const -> IModelWorld*
auto GetPropList() const -> App::PropertyList*
auto GetColor() const -> Math::ColorRGBA
void SetColor(const Math::ColorRGBA& color)
void AddGroup(uint32_t groupID)
Assigns the required flags to this model depending on the groupID specified.
void RemoveGroup(uint32_t groupID)
auto HasGroup(uint32_t groupID) const -> bool
auto GetOwner() const -> Object*
void SetOwner(Object* object)

Public variables

IModelWorld* mpWorld
int mFlags
Transform mTransform
int mnRefCount
int mGroupFlags
Math::ColorRGBA mColor
bool field_5C
CollisionMode mCollisionMode
int field_60
ObjectPtr mpOwner
int16_t field_68
float mDefaultBoundingRadius
Math::BoundingBox mDefaultBBox
float field_88
float field_8C
PropertyListPtr mpPropList

Function documentation

void Graphics::Model::AddGroup(uint32_t groupID)

Assigns the required flags to this model depending on the groupID specified.

Parameters
groupID The ID of the model group, in the ModelGroups enum.