#include <AAnimatableObject.h>
Classes | |
struct | AttachmentInfo |
Public Types | |
enum | FLAGS_ : FLAGS { FLAGS_NONE = 0 , FLAGS_CREATED = ( 1U << ( 0 ) ) , FLAGS_NO_ANIMATION = ( 1U << ( 1 ) ) } |
enum | CREATE_FLAGS_ : CREATE_FLAGS { CREATE_FLAGS_NONE = 0 , CREATE_FLAGS_NO_ANIM_CONTROLLER = ( 1U << ( 0 ) ) } |
using | ThisClass = AAnimatableObject |
using | BaseClass = Toshi::TObject |
using | FLAGS = TUINT8 |
using | CREATE_FLAGS = TUINT |
Public Member Functions | |
virtual Toshi::TClass * | GetClass () override |
AAnimatableObject () | |
~AAnimatableObject () | |
TBOOL | Create (AAnimatableObjectType *a_pObjectType, void *a_Unk1, CREATE_FLAGS a_eFlags=CREATE_FLAGS_NONE) |
TBOOL | Update (TFLOAT a_fDeltaTime) |
void | UpdateAnimControllers (TFLOAT a_fDeltaTime) |
TBOOL | PlayAnimation (const Toshi::TPString8 &a_strName) |
void | KillAllAnimations () |
void | SetVisible (TBOOL a_bVisible) |
void | SetSkeletonUpdating (TBOOL a_bUpdating, TBOOL a_bRecursive) |
const Toshi::T2Vector< Toshi::TPString8, 2 > & | GetQueuedAnimations () const |
AModelInstanceRef | GetModelInstance () |
TBOOL | IsAnimated () const |
Static Public Member Functions | |
static Toshi::TObject * | CreateTObject () |
static Toshi::TObject * | CreateTObjectInPlace (void *a_pPtr) |
static void | InitialiseClass () |
static void | DeinitialiseClass () |
static __forceinline Toshi::TClass * | GetClassStatic () |
Static Public Attributes | |
static constexpr Toshi::TClass * | PARENTCLASS = & Toshi::TObject::ms_oClass |
static Toshi::TClass | ms_oClass = Toshi::TClass( "AAnimatableObject", AAnimatableObject::PARENTCLASS, AAnimatableObject::CreateTObject, AAnimatableObject::CreateTObjectInPlace, AAnimatableObject::InitialiseClass, AAnimatableObject::DeinitialiseClass, 0, 1, sizeof( AAnimatableObject ), alignof( AAnimatableObject ) ) |
Friends | |
class | AAnimatableObjectManager |
Definition at line 15 of file AAnimatableObject.h.
using AAnimatableObject::BaseClass = Toshi::TObject |
Definition at line 21 of file AAnimatableObject.h.
using AAnimatableObject::CREATE_FLAGS = TUINT |
Definition at line 41 of file AAnimatableObject.h.
using AAnimatableObject::FLAGS = TUINT8 |
Definition at line 33 of file AAnimatableObject.h.
Definition at line 21 of file AAnimatableObject.h.
Enumerator | |
---|---|
CREATE_FLAGS_NONE | |
CREATE_FLAGS_NO_ANIM_CONTROLLER |
Definition at line 42 of file AAnimatableObject.h.
enum AAnimatableObject::FLAGS_ : FLAGS |
Enumerator | |
---|---|
FLAGS_NONE | |
FLAGS_CREATED | |
FLAGS_NO_ANIMATION |
Definition at line 34 of file AAnimatableObject.h.
AAnimatableObject::AAnimatableObject | ( | ) |
Definition at line 16 of file AAnimatableObject.cpp.
AAnimatableObject::~AAnimatableObject | ( | ) |
Definition at line 26 of file AAnimatableObject.cpp.
TBOOL AAnimatableObject::Create | ( | AAnimatableObjectType * | a_pObjectType, |
void * | a_Unk1, | ||
CREATE_FLAGS | a_eFlags = CREATE_FLAGS_NONE ) |
Definition at line 42 of file AAnimatableObject.cpp.
|
static |
Definition at line 13 of file AAnimatableObject.cpp.
|
static |
Definition at line 13 of file AAnimatableObject.cpp.
|
static |
Definition at line 13 of file AAnimatableObject.cpp.
|
overridevirtual |
Definition at line 13 of file AAnimatableObject.cpp.
|
inlinestatic |
Definition at line 21 of file AAnimatableObject.h.
|
inline |
Definition at line 68 of file AAnimatableObject.h.
|
inline |
Definition at line 66 of file AAnimatableObject.h.
|
static |
Definition at line 13 of file AAnimatableObject.cpp.
|
inline |
Definition at line 69 of file AAnimatableObject.h.
void AAnimatableObject::KillAllAnimations | ( | ) |
Definition at line 205 of file AAnimatableObject.cpp.
TBOOL AAnimatableObject::PlayAnimation | ( | const Toshi::TPString8 & | a_strName | ) |
Definition at line 126 of file AAnimatableObject.cpp.
Definition at line 188 of file AAnimatableObject.cpp.
void AAnimatableObject::SetVisible | ( | TBOOL | a_bVisible | ) |
Definition at line 180 of file AAnimatableObject.cpp.
Definition at line 92 of file AAnimatableObject.cpp.
void AAnimatableObject::UpdateAnimControllers | ( | TFLOAT | a_fDeltaTime | ) |
Definition at line 116 of file AAnimatableObject.cpp.
|
friend |
Definition at line 48 of file AAnimatableObject.h.
|
static |
Definition at line 21 of file AAnimatableObject.h.
|
staticconstexpr |
Definition at line 21 of file AAnimatableObject.h.