FAnimPose

Script friendly representation of an evaluated animation bone pose

Choose your operating system:

Windows

macOS

Linux

References

Module

AnimationBlueprintLibrary

Header

/Engine/Source/Editor/AnimationBlueprintLibrary/Public/AnimPose.h

Include

#include "AnimPose.h"

Syntax

struct FAnimPose

Remarks

Script friendly representation of an evaluated animation bone pose

Variables

Name Description

Protected variable

FBoneContainer

 

BoneContainer

Protected variable

TArray< int32 >

 

BoneIndices

Protected variable

TArray< FName >

 

BoneNames

Protected variable

TArray< FTransf...

 

LocalSpacePoses

Protected variable

TArray< int32 >

 

ParentBoneIndices

Protected variable

TArray< FTransf...

 

RefLocalSpacePoses

Protected variable

TArray< FTransf...

 

RefWorldSpacePoses

Protected variable

TArray< FTransf...

 

WorldSpacePoses

Functions

Name Description

Protected function

void

 

GenerateWorldSpaceTransforms()

(Re-)Generates the world space transforms using populated local space data

Protected function Const

void

 

GetPose

(
    FCompactPose& InOutCompactPose
)

Populates an FCompactPose using the contained bone data

Protected function

void

 

Init

(
    const FBoneContainer& InBoneContai...
)

Initializes the various arrays, using and copying the provided bone container

Protected function Const

bool

 

IsInitialized()

Whether or not the contained data was initialized and can be used to store a pose

Protected function Const

bool

 

IsPopulated()

Whether or local space pose data has been populated

Public function Const

bool

 

IsValid()

Returns whether or not the pose data was correctly initialized and populated

Protected function

void

 

Reset()

Resets all contained data, rendering the instance invalid

Protected function

void

 

SetPose

(
    USkeletalMeshComponent* Compon...
)

Generates the contained bone data using the provided Component and its AnimInstance

Protected function

void

 

SetPose

(
    const FCompactPose& CompactPose
)

Generates the contained bone data using the provided CompactPose

Protected function

void

 

SetToRefPose()

Copies the reference pose to animated pose data