FCSPose

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/BonePose.h

Include

#include "BonePose.h"

Syntax

template<class PoseType>
struct FCSPose

Variables

Name Description

Protected variable

TCustomBoneInde...

 

BoneMask

Cached bone mask array to avoid reallocations.

Protected variable

TArray< FCompac...

 

BonesToConvert

Cached conversion array for this pose, to save on allocations each frame.

Protected variable

TCustomBoneInde...

 

ComponentSpaceFlags

Flags to track each bones current state (0 means local pose, 1 means component space pose)

Protected variable

PoseType

 

Pose

Functions

Name Description

Public function

void

 

CalculateComponentSpaceTransform

(
    BoneIndexType BoneIndex
)

Calculate the component space transform for the supplied bone.

Public function

void

 

ConvertBoneToLocalSpace

(
    BoneIndexType BoneIndex
)

Convert Bone to Local Space.

Public function Static

void

 

ConvertComponentPosesToLocalPoses

(
    const FCSPose< PoseType >& InPose,
    PoseType& OutPose
)

This function convert component space to local space to OutPose

Public function Static

void

 

ConvertComponentPosesToLocalPoses

(
    FCSPose< PoseType >&& InPose,
    PoseType& OutPose
)

This function convert component space to local space to OutPose

Public function Static

void

 

ConvertComponentPosesToLocalPosesSafe

(
    FCSPose< PoseType >& InPose,
    PoseType& OutPose
)

This function convert component space to local space to OutPose

Public function

void

 

CopyAndAssignBoneContainer

(
    FBoneContainer& NewBoneContainer
)

Public function

void

 

CopyPose

(
    const OtherPoseType& SrcPose
)

Copy Pose.

Public function

void

 

Empty()

Public function Const

const TCusto...

 

GetComponentSpaceFlags()

Public function

const FTrans...

 

GetComponentSpaceTransform

(
    BoneIndexType BoneIndex
)

Get Transform for supplied bone in component space.

Public function

FTransform

 

GetLocalSpaceTransform

(
    BoneIndexType BoneIndex
)

Get transform for supplied bone in local space.

Public function Const

const PoseTy...

 

GetPose()

Public function

void

 

InitPose

(
    const PoseType& SrcPose
)

Init Pose.

Public function

void

 

InitPose

(
    const FBoneContainer* InBoneCo...
)

Init Pose.

Public function

void

 

InitPose

(
    PoseType&& SrcPose
)

Public function

void

 

LocalBlendCSBoneTransforms

(
    const TArray< struct FBoneTransform...,
    float Alpha
)

Blends Component Space transforms to MeshPose in Local Space.

Public function

void

 

SafeSetCSBoneTransforms

(
    const TArray< struct FBoneTransform...
)

Set a bunch of Component Space Bone Transforms.

Public function

void

 

SetComponentSpaceTransform

(
    BoneIndexType BoneIndex,
    const FTransform& NewTransform
)

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss