engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
FBoneContainer结构体 参考

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:

成员函数说明

◆ GetAsset()

UObject * FBoneContainer::GetAsset ( ) const
inline

Get Asset this BoneContainer was made for.

Typically a SkeletalMesh, but could also be a USkeleton.

◆ GetBoneSwitchArray()

const TBitArray & FBoneContainer::GetBoneSwitchArray ( ) const
inline

returns Bone Switch Array.

BitMask for RequiredBoneIndex array.

◆ GetNumBones()

const int32 FBoneContainer::GetNumBones ( ) const
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!

◆ GetSkeletalMeshAsset()

USkeletalMesh * FBoneContainer::GetSkeletalMeshAsset ( ) const
inline

Get SkeletalMesh Asset this BoneContainer was made for.

Could be NULL if Asset is a Skeleton.

◆ GetSkeletonAsset()

USkeleton * FBoneContainer::GetSkeletonAsset ( ) const
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.

◆ IsValid()

const bool FBoneContainer::IsValid ( ) const
inline

Returns true if FBoneContainer is Valid.

Needs an Asset, a RefPoseArray, and a RequiredBonesArray.

◆ ShouldUseRawData()

bool FBoneContainer::ShouldUseRawData ( ) const
inline

True if we're requesting RAW data instead of compressed data.

For debugging.

◆ ShouldUseSourceData()

bool FBoneContainer::ShouldUseSourceData ( ) const
inline

True if we're requesting Source data instead of RawAnimationData.

For debugging.

友元及相关函数文档

◆ operator<<

FArchive & operator<< ( FArchive &  Ar,
FBoneContainer &  B 
)
friend

Serializes the bones

参数
Ar- The archive to serialize into.
Rect- The bone container to serialize.
返回
Reference to the Archive after serialization.

该结构体的文档由以下文件生成: