Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FBasePose
- FBaseCompactPose
- FCompactHeapPose
- FCompactPose
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/BonePose.h |
| Include | #include "BonePose.h" |
Syntax
template<typename InAllocator>
struct FBaseCompactPose : public FBasePose< FCompactPoseBoneIndex, InAllocator >
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FBoneContainer * | BoneContainer | Reference to our BoneContainer. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ContainsNaN () |
Returns true if any bone rotation contains NaN or Inf. | |
| void | CopyAndAssignBoneContainer
(
FBoneContainer& NewBoneContainer |
||
| void | CopyBonesFrom
(
const TArray< FTransform, OtherAllocator >& SrcPoseBones |
||
| void | CopyBonesFrom
(
const FBaseCompactPose< OtherAllocator >& SrcPose |
Copy bone transform from SrcPose to this. | |
| void | CopyBonesFrom
(
const FBaseCompactPose< Allocator >& SrcPose |
||
| void | CopyBonesTo
(
TArray< FTransform, OtherAllocator >& DestPoseBones |
||
| void | Empty () |
||
| RangedForBoneIndexFwd | |||
| RangedForBoneIndexBwd | |||
| FBoneContainer & | |||
| const FBoneContainer & | |||
| BoneIndexType | GetParentBoneIndex
(
const BoneIndexType& BoneIndex |
Returns the bone index for the parent bone. | |
| const FTransform & | GetRefPose
(
const BoneIndexType& BoneIndex |
Returns the ref pose for the supplied bone. | |
| void | InitFrom
(
FBaseCompactPose&& SrcPose |
||
| void | InitFrom
(
const FBaseCompactPose& SrcPose |
||
| bool | IsNormalized () |
Returns true if all bone rotations are normalized | |
| bool | IsValid () |
||
| FCompactPoseBoneIndexIterator | |||
| FCompactPoseBoneIndexReverseIterator | |||
| FCompactPoseBoneIndexIterator | MakeEndIter () |
||
| FCompactPoseBoneIndexReverseIterator | |||
| void | MoveBonesFrom
(
FBaseCompactPose< Allocator >& SrcPose |
||
| void | MoveBonesFrom
(
TArray< FTransform, Allocator >&& InTransforms |
Moves transform data out of the supplied InTransforms. InTransform will be left empty. | |
| void | MoveBonesTo
(
TArray< FTransform, Allocator >& InTransforms |
Moves transform data out of this to the supplied InTransforms. Bones will be left empty. | |
| void | Normalizes all rotations in this pose. | ||
| void | Sets every bone transform to Identity. | ||
| void | Sets this pose to its ref pose. | ||
| void | ResetToRefPose
(
const FBoneContainer& RequiredBones |
Sets this pose to the supplied BoneContainers ref pose. | |
| void | SetBoneContainer
(
const FBoneContainer* InBoneContainer |
Typedefs
| Name | Description |
|---|---|
| Allocator | |
| BoneIndexType | |
| RangedForBoneIndexBwd | |
| RangedForBoneIndexFwd | Bone Index Iteration. |