#include <StdMeshUpdate.h>
Public Member Functions | |
StdMeshUpdate (const StdMesh &old_mesh) | |
void | Update (StdMeshInstance *instance, const StdMesh &new_mesh) const |
const StdMesh & | GetOldMesh () const |
Definition at line 48 of file StdMeshUpdate.h.
StdMeshUpdate::StdMeshUpdate | ( | const StdMesh & | old_mesh | ) |
Definition at line 84 of file StdMeshUpdate.cpp.
References StdMeshSkeleton::GetBone(), StdMesh::GetSkeleton(), and StdMeshBone::Name.
|
inline |
Definition at line 56 of file StdMeshUpdate.h.
Referenced by C4DefGraphicsPtrBackupEntry::AssignRemoval(), and C4DefGraphicsPtrBackupEntry::AssignUpdate().
void StdMeshUpdate::Update | ( | StdMeshInstance * | instance, |
const StdMesh & | new_mesh | ||
) | const |
Definition at line 91 of file StdMeshUpdate.cpp.
References StdMeshInstance::AnimationStack, StdMeshInstance::AttachedMeshesBegin(), StdMeshInstance::AttachedMeshesEnd(), StdMeshInstance::AttachParent, StdMeshInstance::BoneTransforms, StdMeshInstance::BoneTransformsDirty, StdMeshInstance::DetachMesh(), StdMeshInstance::GetCompletion(), StdMeshInstance::GetMesh(), StdMeshSkeleton::GetNumBones(), StdMesh::GetNumSubMeshes(), StdMesh::GetSkeleton(), StdMesh::GetSubMesh(), StdMeshMatrix::Identity(), StdMeshInstance::Mesh, StdMeshInstance::AttachedMesh::Number, StdMeshInstance::AttachedMesh::OwnChild, StdMeshInstance::AttachedMesh::Parent, StdMeshInstance::AttachedMesh::SetChildBone(), StdMeshInstance::StopAnimation(), StdMeshInstance::SubMeshInstances, and StdMeshInstance::SubMeshInstancesOrdered.
Referenced by C4DefGraphicsPtrBackupEntry::AssignUpdate().