A hierarchy of transforms (bones) that tracks the state of transforms within the hierarchy, to do partial updates. 更多...
#include <BoneHierarchy.h>
Public 成员函数 | |
| void | Add (TUniquePtr< FAnalyticImplicitGroup > &&AnalyticShapeGroupIn) |
| Add a structure to the hierarchy. | |
| const FTransform * | GetAnimWorldSpaceTransformsForBone (const int32 BoneIndex) const |
Get all world space transforms associated with BoneIndex. 更多... | |
| void | InitPostAdd () |
| Build the hierarchy. 更多... | |
| void | InitPreAdd (const int32 NumBones) |
| Prepare the hierarchy for adding structures (optional). | |
| bool | PrepareAnimWorldSpaceTransforms () |
| Update all world space transforms for sampling. | |
| void | SetActorWorldSpaceTransform (const FTransform &InActorLocalToWorld) |
| Update the local-to-world transform of the actor the bones this hierarchy represents belongs to. | |
| void | SetAnimLocalSpaceTransform (const int32 BoneIndex, const FTransform &BoneXf) |
| Updates the local/bone space transform of a bone. 更多... | |
Protected 成员函数 | |
| void | GetDirtyIndices (TArray< int32 > &TargetIndices, const uint8 Mask) const |
| Get a list of all transform indices that are dirty. | |
| void | InitHierarchy () |
| Update each implicit group with parent and child information, and find root nodes. 更多... | |
| void | PropagateAnimDirtyFlags () |
| Propagate bone space dirty flags from parents to sub structures and children. | |
| bool | UpdateAnimWorldSpaceTransforms (const TArray< int32 > &TargetIndices) |
| Update the component space transforms of the specified indices. | |
友元 | |
| class | USkeletalMeshSimulationComponent |
A hierarchy of transforms (bones) that tracks the state of transforms within the hierarchy, to do partial updates.
|
inline |
Get all world space transforms associated with BoneIndex.
The transform for the bone is offset index 0 of the return value. If this bone has associated sub structures, and the hierarchy was initialized with FirstClassSubStructures = true, they start at index 1.
|
inlineprotected |
Update each implicit group with parent and child information, and find root nodes.
Bones are sorted so that those with kinematic or dynamic bodies are first, and sorted by index (this allows to to iterate over the bone list when producing output for the animation system which asserts that the bone update list is sorted as an overly-sufficient check that parents are before children).
|
inline |
Build the hierarchy.
Must be done after adding structures, and before updating or sampling.
|
inline |
Updates the local/bone space transform of a bone.
Setting transforms at this level requires the transform hierarchy to be resolved prior to sampling.