FBaseCompactPose

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Protected variable

const FBoneCont...

 

BoneContainer

Reference to our BoneContainer.

Constructors

Name Description

Public function

FBaseCompactPose()

Functions

Name Description

Public function Const

bool

 

ContainsNaN()

Returns true if any bone rotation contains NaN or Inf.

Public function

void

 

CopyAndAssignBoneContainer

(
    FBoneContainer& NewBoneContainer
)

Public function

void

 

CopyBonesFrom

(
    const TArray< FTransform, OtherAllo...
)

Public function

void

 

CopyBonesFrom

(
    const FBaseCompactPose< Allocator >...
)

Public function

void

 

CopyBonesFrom

(
    const FBaseCompactPose< OtherAlloca...
)

Copy bone transform from SrcPose to this.

Public function

void

 

CopyBonesTo

(
    TArray< FTransform, OtherAllocator ...
)

Public function

void

 

Empty()

Public function Const

RangedForBon...

 

ForEachBoneIndex()

Public function Const

RangedForBon...

 

ForEachBoneIndexReverse()

Public function Const

const FBoneC...

 

GetBoneContainer()

Public function Const

BoneIndexTyp...

 

GetParentBoneIndex

(
    const BoneIndexType& BoneIndex
)

Returns the bone index for the parent bone.

Public function Const

const FTrans...

 

GetRefPose

(
    const BoneIndexType& BoneIndex
)

Returns the ref pose for the supplied bone.

Public function

void

 

InitFrom

(
    FBaseCompactPose&& SrcPose
)

Public function

void

 

InitFrom

(
    const FBaseCompactPose& SrcPose
)

Public function Const

bool

 

IsNormalized()

Returns true if all bone rotations are normalized

Public function Const

bool

 

IsValid()

Public function Const

FCompactPose...

 

MakeBeginIter()

Public function Const

FCompactPose...

 

MakeBeginIterReverse()

Public function Const

FCompactPose...

 

MakeEndIter()

Public function Const

FCompactPose...

 

MakeEndIterReverse()

Public function

void

 

MoveBonesFrom

(
    FBaseCompactPose< Allocator >& Src...
)

Public function

void

 

MoveBonesFrom

(
    TArray< FTransform, Allocator >&& ...
)

Moves transform data out of the supplied InTransforms. InTransform will be left empty.

Public function

void

 

MoveBonesTo

(
    TArray< FTransform, Allocator >& I...
)

Moves transform data out of this to the supplied InTransforms. Bones will be left empty.

Public function

void

 

NormalizeRotations()

Normalizes all rotations in this pose.

Public function

void

 

ResetToAdditiveIdentity()

Sets every bone transform to Identity.

Public function

void

 

ResetToRefPose()

Sets this pose to its ref pose.

Public function

void

 

ResetToRefPose

(
    const FBoneContainer& RequiredBone...
)

Sets this pose to the supplied BoneContainers ref pose.

Public function

void

 

SetBoneContainer

(
    const FBoneContainer* InBoneCo...
)

Typedefs

Name

Description

Allocator

BoneIndexType

RangedForBoneIndexBwd

RangedForBoneIndexFwd

Bone Index Iteration.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback