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

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

成员函数说明

◆ EnsureParentsExist()

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.

◆ EnsureParentsExistAndSort()

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.

◆ FindBoneIndex()

int32 FReferenceSkeleton::FindBoneIndex ( const FName &  BoneName) const
inline

Find Bone Index from BoneName.

Precache as much as possible in speed critical sections!

◆ FindRawBoneIndex()

int32 FReferenceSkeleton::FindRawBoneIndex ( const FName &  BoneName) const
inline

Find Bone Index from BoneName.

Precache as much as possible in speed critical sections!

◆ GetRawBoneNum()

int32 FReferenceSkeleton::GetRawBoneNum ( ) const
inline

Returns number of raw bones in Skeleton.

These are the original bones of the asset

◆ GetRawRefBoneInfo()

const TArray< FMeshBoneInfo > & FReferenceSkeleton::GetRawRefBoneInfo ( ) const
inline

Accessor to private data.

Raw relates to original asset. Const so it can't be changed recklessly.

◆ GetRawRefBonePose()

const TArray< FTransform > & FReferenceSkeleton::GetRawRefBonePose ( ) const
inline

Accessor to private data.

Raw relates to original asset. Const so it can't be changed recklessly.

◆ GetRefBoneInfo()

const TArray< FMeshBoneInfo > & FReferenceSkeleton::GetRefBoneInfo ( ) const
inline

Accessor to private data.

These include the USkeletons virtual bones. Const so it can't be changed recklessly.

◆ GetRefBonePose()

const TArray< FTransform > & FReferenceSkeleton::GetRefBonePose ( ) const
inline

Accessor to private data.

These include the USkeletons virtual bones. Const so it can't be changed recklessly.


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