#include <StdMesh.h>
Classes | |
class | Denumerator |
Public Types | |
typedef Denumerator *(* | DenumeratorFactoryFunc) () |
Public Member Functions | |
AttachedMesh () | |
AttachedMesh (unsigned int number, StdMeshInstance *parent, StdMeshInstance *child, bool own_child, Denumerator *denumerator, unsigned int parent_bone, unsigned int child_bone, const StdMeshMatrix &transform, uint32_t flags) | |
~AttachedMesh () | |
bool | SetParentBone (const StdStrBuf &bone) |
bool | SetChildBone (const StdStrBuf &bone) |
void | SetAttachTransformation (const StdMeshMatrix &transformation) |
const StdMeshMatrix & | GetFinalTransformation () const |
uint32_t | GetFlags () const |
void | CompileFunc (StdCompiler *pComp, DenumeratorFactoryFunc Factory) |
void | DenumeratePointers () |
bool | ClearPointers (class C4Object *pObj) |
unsigned int | GetParentBone () const |
unsigned int | GetChildBone () const |
Static Public Member Functions | |
template<typename T > | |
static Denumerator * | DenumeratorFactory () |
Public Attributes | |
uint32_t | Number {0} |
StdMeshInstance * | Parent {nullptr} |
StdMeshInstance * | Child {nullptr} |
bool | OwnChild {true} |
Denumerator * | ChildDenumerator {nullptr} |
Friends | |
class | StdMeshInstance |
class | StdMeshUpdate |
typedef Denumerator*(* StdMeshInstance::AttachedMesh::DenumeratorFactoryFunc) () |
|
default |
StdMeshInstance::AttachedMesh::AttachedMesh | ( | unsigned int | number, |
StdMeshInstance * | parent, | ||
StdMeshInstance * | child, | ||
bool | own_child, | ||
Denumerator * | denumerator, | ||
unsigned int | parent_bone, | ||
unsigned int | child_bone, | ||
const StdMeshMatrix & | transform, | ||
uint32_t | flags | ||
) |
Definition at line 975 of file StdMesh.cpp.
References StdMeshInstance::GetMesh(), and StdMesh::GetSkeleton().
StdMeshInstance::AttachedMesh::~AttachedMesh | ( | ) |
Definition at line 984 of file StdMesh.cpp.
bool StdMeshInstance::AttachedMesh::ClearPointers | ( | class C4Object * | pObj | ) |
Definition at line 1057 of file StdMesh.cpp.
void StdMeshInstance::AttachedMesh::CompileFunc | ( | StdCompiler * | pComp, |
DenumeratorFactoryFunc | Factory | ||
) |
Definition at line 1017 of file StdMesh.cpp.
References StdMeshInstance::AM_DrawBefore, StdMeshInstance::AM_MatchSkeleton, StdCompiler::isDeserializer(), mkBitfieldAdapt(), mkNamingAdapt(), mkParAdapt(), and StdCompiler::Value().
void StdMeshInstance::AttachedMesh::DenumeratePointers | ( | ) |
Definition at line 1044 of file StdMesh.cpp.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Definition at line 519 of file StdMesh.h.
Referenced by StdMeshInstance::GetBoneCount(), and StdMeshInstance::GetBoneTransform().
|
inline |
void StdMeshInstance::AttachedMesh::SetAttachTransformation | ( | const StdMeshMatrix & | transformation | ) |
Definition at line 1011 of file StdMesh.cpp.
bool StdMeshInstance::AttachedMesh::SetChildBone | ( | const StdStrBuf & | bone | ) |
Definition at line 1001 of file StdMesh.cpp.
References StdMeshBone::Index.
Referenced by StdMeshUpdate::Update().
bool StdMeshInstance::AttachedMesh::SetParentBone | ( | const StdStrBuf & | bone | ) |
|
friend |
|
friend |
StdMeshInstance* StdMeshInstance::AttachedMesh::Child {nullptr} |
Definition at line 511 of file StdMesh.h.
Referenced by StdMeshInstance::AttachMesh(), C4MeshDenumerator::CompileFunc(), and C4MeshDenumerator::DenumeratePointers().
Denumerator* StdMeshInstance::AttachedMesh::ChildDenumerator {nullptr} |
uint32_t StdMeshInstance::AttachedMesh::Number {0} |
Definition at line 509 of file StdMesh.h.
Referenced by StdMeshUpdate::Update(), C4Object::UpdateGraphics(), and StdMeshInstance::~StdMeshInstance().
bool StdMeshInstance::AttachedMesh::OwnChild {true} |
Definition at line 512 of file StdMesh.h.
Referenced by StdMeshInstance::AttachMesh(), C4MeshDenumerator::CompileFunc(), C4MeshDenumerator::DenumeratePointers(), and StdMeshUpdate::Update().
StdMeshInstance* StdMeshInstance::AttachedMesh::Parent {nullptr} |
Definition at line 510 of file StdMesh.h.
Referenced by StdMeshInstance::AttachMeshImpl(), StdMeshInstance::CompileFunc(), StdMeshInstance::GetBoneTransform(), StdMeshUpdate::Update(), C4Object::UpdateGraphics(), and StdMeshInstance::~StdMeshInstance().