#include <AModel.h>
Public Types | |
enum | Flags_ : Flags { Flags_None = 0 , Flags_UpdatingSkeleton = BITFLAG( 0 ) , Flags_Visible = BITFLAG( 1 ) , Flags_DrawWithDefaultMaterials = BITFLAG( 2 ) , Flags_ReceivesLight = BITFLAG( 3 ) , Flags_Unknown = BITFLAG( 4 ) } |
enum | ChangeEvent : TUINT32 { ChangeEvent_Visibility , ChangeEvent_UNK2 , ChangeEvent_EnabledSkeletonUpdate , ChangeEvent_DisabledSkeletonUpdate } |
using | Flags = TUINT8 |
Public Member Functions | |
TDECLARE_CLASS (AModelInstance, Toshi::TObject) | |
AModelInstance () | |
AModelInstance (AModel *a_pModel, Toshi::TSceneObject *a_pSceneObject, TBOOL a_bEnableSkeletonUpdate) | |
void | SetTransform (const Toshi::TMatrix44 &a_rcTransform) |
void | SetSkeletonUpdating (TBOOL a_bUpdating) |
void | SetReceivesLight (TBOOL a_bReceives) |
void | SetVisible (TBOOL a_bVisible) |
AModel * | GetModel () const |
const Toshi::TPString8 & | GetModelName () const |
Toshi::TSceneObject * | GetSceneObject () const |
Toshi::TTransformObject & | GetTransform () const |
Toshi::TSkeleton * | GetSkeleton () const |
TUINT | GetClipFlags () const |
void | SetClipFlags (TUINT a_uiClipFlags) |
const Toshi::TVector4 & | GetScale () const |
TBOOL | IsUpdatingSkeleton () const |
TBOOL | IsVisible () const |
TBOOL | DrawWithDefaultMaterials () const |
TBOOL | ReceivesLight () const |
Friends | |
class | AModel |
using AModelInstance::Flags = TUINT8 |
Enumerator | |
---|---|
ChangeEvent_Visibility | |
ChangeEvent_UNK2 | |
ChangeEvent_EnabledSkeletonUpdate | |
ChangeEvent_DisabledSkeletonUpdate |
Definition at line 31 of file AModel.h.
enum AModelInstance::Flags_ : Flags |
Enumerator | |
---|---|
Flags_None | |
Flags_UpdatingSkeleton | |
Flags_Visible | |
Flags_DrawWithDefaultMaterials | |
Flags_ReceivesLight | |
Flags_Unknown |
AModelInstance::AModelInstance | ( | ) |
Definition at line 265 of file AModel.cpp.
AModelInstance::AModelInstance | ( | AModel * | a_pModel, |
Toshi::TSceneObject * | a_pSceneObject, | ||
TBOOL | a_bEnableSkeletonUpdate ) |
|
inline |
|
inline |
|
inline |
const TPString8 & AModelInstance::GetModelName | ( | ) | const |
Definition at line 479 of file AModel.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void AModelInstance::SetReceivesLight | ( | TBOOL | a_bReceives | ) |
Definition at line 451 of file AModel.cpp.
void AModelInstance::SetSkeletonUpdating | ( | TBOOL | a_bUpdating | ) |
Definition at line 426 of file AModel.cpp.
void AModelInstance::SetTransform | ( | const Toshi::TMatrix44 & | a_rcTransform | ) |
Definition at line 278 of file AModel.cpp.
void AModelInstance::SetVisible | ( | TBOOL | a_bVisible | ) |
Definition at line 460 of file AModel.cpp.
AModelInstance::TDECLARE_CLASS | ( | AModelInstance | , |
Toshi::TObject | ) |