This is a native transient structure. 更多...
#include <BoneContainer.h>
Public 成员函数 | |
| bool | BoneIsChildOf (const FCompactPoseBoneIndex &BoneIndex, const FCompactPoseBoneIndex &ParentBoneIndex) const |
| Returns true if bone is child of for current asset. | |
| bool | BoneIsChildOf (const int32 BoneIndex, const int32 ParentBoneIndex) const |
| Returns true if bone is child of for current asset. | |
| void | CacheRequiredAnimCurveUids (const FCurveEvaluationOption &CurveEvalOption) |
| Cache required Anim Curve Uids | |
| bool | Contains (FBoneIndexType NewIndex) const |
| Returns true of RequiredBonesArray contains this bone index. | |
| UObject * | GetAsset () const |
| Get Asset this BoneContainer was made for. 更多... | |
| const TArray< FBoneIndexType > & | GetBoneIndicesArray () const |
| returns Required Bone Indices Array | |
| const TBitArray & | GetBoneSwitchArray () const |
| returns Bone Switch Array. 更多... | |
| int32 | GetDepthBetweenBones (const int32 BoneIndex, const int32 ParentBoneIndex) const |
| Get Depth between bones for current asset. | |
| bool | GetDisableRetargeting () const |
| True if retargeting is disabled for debugging. | |
| const int32 | GetNumBones () const |
| Number of Bones in RefPose for current asset. 更多... | |
| FCompactPoseBoneIndex | GetParentBoneIndex (const FCompactPoseBoneIndex &BoneIndex) const |
| Get ParentBoneIndex for current Asset. | |
| int32 | GetParentBoneIndex (const int32 BoneIndex) const |
| Get ParentBoneIndex for current Asset. | |
| int32 | GetPoseBoneIndexForBoneName (const FName &BoneName) const |
| Get BoneIndex for BoneName for current Asset. | |
| TArray< int32 > const & | GetPoseToSkeletonBoneIndexArray () const |
| Const accessor to GetSkeletonToPoseBoneIndexArray(). | |
| const FReferenceSkeleton & | GetReferenceSkeleton () const |
| Access to Asset's RefSkeleton. | |
| const TArray< FTransform > & | GetRefPoseArray () const |
| Pointer to RefPoseArray for current Asset. | |
| USkeletalMesh * | GetSkeletalMeshAsset () const |
| Get SkeletalMesh Asset this BoneContainer was made for. 更多... | |
| USkeleton * | GetSkeletonAsset () const |
| Get Skeleton Asset. 更多... | |
| TArray< int32 > const & | GetSkeletonToPoseBoneIndexArray () const |
| Const accessor to GetSkeletonToPoseBoneIndexArray(). | |
| TArray< uint16 > const & | GetUIDToArrayLookupTable () const |
| Get UID To Array look up table | |
| TArray< FAnimCurveType > const & | GetUIDToCurveTypeLookupTable () const |
| Get UID To curve type look up table | |
| TArray< FName > const & | GetUIDToNameLookupTable () const |
| Get UID To Name look up table | |
| const TArray< FVirtualBoneCompactPoseData > & | GetVirtualBoneCompactPoseData () const |
| returns virutal bone cached data | |
| void | InitializeTo (const TArray< FBoneIndexType > &InRequiredBoneIndexArray, const FCurveEvaluationOption &CurveEvalOption, UObject &InAsset) |
| Initialize BoneContainer to a new Asset, RequiredBonesArray and RefPoseArray. | |
| const bool | IsValid () const |
| Returns true if FBoneContainer is Valid. 更多... | |
| void | SetDisableRetargeting (bool InbDisableRetargeting) |
| Disable Retargeting for debugging. | |
| void | SetUseRAWData (bool InbUseRAWData) |
| Ignore compressed data and use RAW data instead, for debugging. | |
| void | SetUseSourceData (bool InbUseSourceData) |
| use Source data instead. | |
| bool | ShouldUseRawData () const |
| True if we're requesting RAW data instead of compressed data. 更多... | |
| bool | ShouldUseSourceData () const |
| True if we're requesting Source data instead of RawAnimationData. 更多... | |
友元 | |
| FArchive & | operator<< (FArchive &Ar, FBoneContainer &B) |
| Serializes the bones 更多... | |
This is a native transient structure.
Contains:
|
inline |
Get Asset this BoneContainer was made for.
Typically a SkeletalMesh, but could also be a USkeleton.
|
inline |
returns Bone Switch Array.
BitMask for RequiredBoneIndex array.
|
inline |
Number of Bones in RefPose for current asset.
This is NOT the number of bones in RequiredBonesArray, but the TOTAL number of bones in the RefPose of the current Asset!
|
inline |
Get SkeletalMesh Asset this BoneContainer was made for.
Could be NULL if Asset is a Skeleton.
|
inline |
Get Skeleton Asset.
Could either be the SkeletalMesh's Skeleton, or the Skeleton this BoneContainer was made for. Is non NULL is BoneContainer is valid.
|
inline |
Returns true if FBoneContainer is Valid.
Needs an Asset, a RefPoseArray, and a RequiredBonesArray.
|
inline |
True if we're requesting RAW data instead of compressed data.
For debugging.
|
inline |
True if we're requesting Source data instead of RawAnimationData.
For debugging.
|
friend |
Serializes the bones
| Ar | - The archive to serialize into. |
| Rect | - The bone container to serialize. |