UControlRigLayerInstance

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ControlRig

Header

/Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Sequencer/ControlRigLayerInstance.h

Include

#include "Sequencer/ControlRigLayerInstance.h"

Syntax

UCLASS(Transient, NotBlueprintable)
class UControlRigLayerInstance :
    public UAnimInstance,
    public ISequencerAnimationSupport

Constructors

Name Description

Public function

UControlRigLayerInstance

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddAnimation

(
    int32 SequenceId,
    UAnimSequenceBase* InAnimSeque...
)

Sequencer AnimInstance Interface

Public function

void

 

AddControlRigTrack

(
    int32 ControlRigID,
    UControlRig* InControlRig
)

ControlRig related support

Public function Const

UControlRig ...

 

GetFirstAvailableControlRig()

Return the first available control rig

Public function

bool

 

HasControlRigTrack

(
    int32 ControlRigID
)

Public function

void

 

RemoveAnimation

(
    int32 SequenceId
)

Public function

void

 

RemoveControlRigTrack

(
    int32 ControlRigID
)

Public function

void

 

ResetControlRigTracks()

Public function

void

 

UpdateControlRigTrack

(
    int32 ControlRigID,
    float Weight,
    const FControlRigIOSettings& Input...,
    bool bExecute
)

Overridden from UAnimInstance

Name Description

Protected function Virtual

FAnimInstanc...

 

CreateAnimInstanceProxy()

Override point for derived classes to create their own proxy objects (allows custom allocation)

Overridden from ISequencerAnimationSupport

Name Description

Public function Virtual

void

 

ConstructNodes()

Construct all nodes in this instance

Public function Virtual Const

bool

 

DoesSupportDifferentSourceAnimInstance()

Public function Virtual

UAnimInstanc...

 

GetSourceAnimInstance()

Source Animation Getter for the support of the Sequencer Animation Track interface

Public function Virtual

void

 

ResetNodes()

Reset all nodes in this instance

Public function Virtual

void

 

ResetPose()

Reset the pose in this instance

Public function Virtual

void

 

SavePose()

Saved the named pose to restore after

Public function Virtual

void

 

SetSourceAnimInstance

(
    UAnimInstance* SourceAnimInsta...
)

Anim Instance Source info - created externally and used here

Public function Virtual

void

 

UpdateAnimTrack

(
    UAnimSequenceBase* InAnimSeque...,
    int32 SequenceId,
    float InPosition,
    float Weight,
    bool bFireNotifies
)

Update an animation sequence player in this instance

Public function Virtual

void

 

UpdateAnimTrack

(
    UAnimSequenceBase* InAnimSeque...,
    int32 SequenceId,
    float InFromPosition,
    float InToPosition,
    float Weight,
    bool bFireNotifies
)

Constants

Name

Description

SequencerPoseName