Language:
Discover
By Skill Level
By Category

UPoseableMeshComponent

Choose your OS:

Inheritance Hierarchy

Syntax

class UPoseableMeshComponent : public USkinnedMeshComponent

Remarks

UPoseableMeshComponent that allows bone transforms to be driven by blueprint.

Variables

Name Description

Public variable

TArray < FTransf ...

 

BoneSpaceTransforms

Temporary array of local-space (ie relative to parent bone) rotation/translation/scale for each bone.

Public variable

FBoneContainer

 

RequiredBones

Constructors

Name Description

Public function

UPoseableMeshComponent

(
    const FObjectInitializer & ObjectIn...
)

============================================================================= PoseableMeshComponent.cpp: UPoseableMeshComponent methods.

Functions

Name Description

Public function

void

 

CopyPoseFromSkeletalComponent

(
    const USkeletalMeshComponent * ...
)

Public function

void

 

FillComponentSpaceTransforms()

Take the BoneSpaceTransforms array (translation vector, rotation quaternion and scale vector) and update the array of component-space bone transformation matrices (SpaceBases).

Public function

FVector

 

GetBoneLocationByName

(
    FName BoneName,
    EBoneSpaces::Type BoneSpace
)

Public function

FRotator

 

GetBoneRotationByName

(
    FName BoneName,
    EBoneSpaces::Type BoneSpace
)

Public function

FVector

 

GetBoneScaleByName

(
    FName BoneName,
    EBoneSpaces::Type BoneSpace
)

Public function

FTransform

 

GetBoneTransformByName

(
    FName BoneName,
    EBoneSpaces::Type BoneSpace
)

Public function

bool

 

IsRunningParallelEvaluation()

Public function

void

 

ResetBoneTransformByName

(
    FName BoneName
)

Public function

void

 

SetBoneLocationByName

(
    FName BoneName,
    FVector InLocation,
    EBoneSpaces::Type BoneSpace
)

Public function

void

 

SetBoneRotationByName

(
    FName BoneName,
    FRotator InRotation,
    EBoneSpaces::Type BoneSpace
)

Public function

void

 

SetBoneScaleByName

(
    FName BoneName,
    FVector InScale3D,
    EBoneSpaces::Type BoneSpace
)

Public function

void

 

SetBoneTransformByName

(
    FName BoneName,
    const FTransform & InTransform,
    EBoneSpaces::Type BoneSpace
)

Overridden from USkinnedMeshComponent

Name Description

Public function Virtual

bool

 

AllocateTransformData()

Allocate Transform Data array including SpaceBases, BoneVisibilityStates

Public function Virtual

void

 

RefreshBoneTransforms

(
    FActorComponentTickFunction * T...
)

Update functions Refresh Bone Transforms Each class will need to implement this function Ideally this function should be atomic (not relying on Tick or any other update.)

References

Module

Engine

Header

Runtime/Engine/Classes/Components/PoseableMeshComponent.h