Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/BonePose.h |
Include | #include "BonePose.h" |
Syntax
template<class PoseType>
struct FCSPose
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TCustomBoneIndexArray< uint8, BoneIndexType > | BoneMask | Cached bone mask array to avoid reallocations. |
![]() |
TArray< FCompactPoseBoneIndex > | BonesToConvert | Cached conversion array for this pose, to save on allocations each frame. |
![]() |
TCustomBoneIndexArray< uint8, BoneIndexType > | ComponentSpaceFlags | Flags to track each bones current state (0 means local pose, 1 means component space pose) |
![]() |
PoseType | Pose |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CalculateComponentSpaceTransform
(
BoneIndexType BoneIndex |
Calculate the component space transform for the supplied bone. |
![]() |
void | ConvertBoneToLocalSpace
(
BoneIndexType BoneIndex |
Convert Bone to Local Space. |
![]() ![]() |
void | ConvertComponentPosesToLocalPoses
(
const FCSPose< PoseType >& InPose, |
This function convert component space to local space to OutPose |
![]() ![]() |
void | ConvertComponentPosesToLocalPoses
(
FCSPose< PoseType >&& InPose, |
This function convert component space to local space to OutPose |
![]() ![]() |
void | ConvertComponentPosesToLocalPosesSafe
(
FCSPose< PoseType >& InPose, |
This function convert component space to local space to OutPose |
![]() |
void | CopyAndAssignBoneContainer
(
FBoneContainer& NewBoneContainer |
|
![]() |
void | CopyPose
(
const OtherPoseType& SrcPose |
Copy Pose. |
![]() |
void | Empty () |
|
![]() ![]() |
const TCustomBoneIndexArray< uint8, BoneIndexType > & | ||
![]() |
const FTransform & | GetComponentSpaceTransform
(
BoneIndexType BoneIndex |
Get Transform for supplied bone in component space. |
![]() |
FTransform | GetLocalSpaceTransform
(
BoneIndexType BoneIndex |
Get transform for supplied bone in local space. |
![]() ![]() |
const PoseType & | GetPose () |
|
![]() |
void | InitPose
(
const PoseType& SrcPose |
Init Pose. |
![]() |
void | InitPose
(
const FBoneContainer* InBoneContainer |
Init Pose. |
![]() |
void | InitPose
(
PoseType&& SrcPose |
|
![]() |
void | LocalBlendCSBoneTransforms
(
const TArray< struct FBoneTransform >& BoneTransforms, |
Blends Component Space transforms to MeshPose in Local Space. |
![]() |
void | SafeSetCSBoneTransforms
(
const TArray< struct FBoneTransform >& BoneTransforms |
Set a bunch of Component Space Bone Transforms. |
![]() |
void | SetComponentSpaceTransform
(
BoneIndexType BoneIndex, |
Set the transform for the supplied bone. |
Typedefs
Name | Description |
---|---|
BoneIndexType | Set up our index type based on the type of pose we are manipulating. |