Reference Skeleton 更多...
#include <ReferenceSkeleton.h>
Public 成员函数 | |
| ENGINE_API void | EnsureParentsExist (TArray< FBoneIndexType > &InOutBoneSortedArray) const |
| Ensure parent exists in the given input sorted array. 更多... | |
| ENGINE_API void | EnsureParentsExistAndSort (TArray< FBoneIndexType > &InOutBoneUnsortedArray) const |
| Ensure parent exists in the given input array. 更多... | |
| int32 | FindBoneIndex (const FName &BoneName) const |
| Find Bone Index from BoneName. 更多... | |
| int32 | FindRawBoneIndex (const FName &BoneName) const |
| Find Bone Index from BoneName. 更多... | |
| int32 | GetDepthBetweenBones (const int32 BoneIndex, const int32 ParentBoneIndex) const |
| Returns # of Depth from BoneIndex to ParentBoneIndex This will return 0 if BoneIndex == ParentBoneIndex; This will return -1 if BoneIndex isn't child of ParentBoneIndex | |
| int32 | GetNum () const |
| Returns number of bones in Skeleton. | |
| int32 | GetRawBoneNum () const |
| Returns number of raw bones in Skeleton. 更多... | |
| const TArray< FMeshBoneInfo > & | GetRawRefBoneInfo () const |
| Accessor to private data. 更多... | |
| const TArray< FTransform > & | GetRawRefBonePose () const |
| Accessor to private data. 更多... | |
| const TArray< FMeshBoneInfo > & | GetRefBoneInfo () const |
| Accessor to private data. 更多... | |
| const TArray< FTransform > & | GetRefBonePose () const |
| Accessor to private data. 更多... | |
| TArray< int32 > | RemoveBonesByName (USkeleton *Skeleton, const TArray< FName > &BonesToRemove) |
| Removes the supplied bones from the skeleton, unless they have children that aren't also going to be removed | |
Reference Skeleton
| ENGINE_API void FReferenceSkeleton::EnsureParentsExist | ( | TArray< FBoneIndexType > & | InOutBoneSortedArray | ) | const |
Ensure parent exists in the given input sorted array.
Insert parent to the array. The result should be sorted.
| ENGINE_API void FReferenceSkeleton::EnsureParentsExistAndSort | ( | TArray< FBoneIndexType > & | InOutBoneUnsortedArray | ) | const |
Ensure parent exists in the given input array.
Insert parent to the array. The result should be sorted.
|
inline |
Find Bone Index from BoneName.
Precache as much as possible in speed critical sections!
|
inline |
Find Bone Index from BoneName.
Precache as much as possible in speed critical sections!
|
inline |
Returns number of raw bones in Skeleton.
These are the original bones of the asset
|
inline |
Accessor to private data.
Raw relates to original asset. Const so it can't be changed recklessly.
|
inline |
Accessor to private data.
Raw relates to original asset. Const so it can't be changed recklessly.
|
inline |
Accessor to private data.
These include the USkeletons virtual bones. Const so it can't be changed recklessly.
|
inline |
Accessor to private data.
These include the USkeletons virtual bones. Const so it can't be changed recklessly.