FAnimSingleNodeInstanceProxy

Proxy override for this UAnimInstance-derived class

Windows
MacOS
Linux

Inheritance Hierarchy

FAnimInstanceProxy

FAnimSingleNodeInstanceProxy

FAnimPreviewInstanceProxy

Syntax

struct FAnimSingleNodeInstanceProxy : public FAnimInstanceProxy

Remarks

Proxy override for this UAnimInstance-derived class

Variables

Name Description

Protected variable

bool

 

bCanProcessAdditiveAnimations

If this is being used by a user (for instance on a skeletal mesh placed in a level) we don't want to allow additives.

Protected variable

UAnimationAsset...

 

CurrentAsset

Current Asset being played. Note that this will be nullptr outside of pre/post update

Protected variable

TMap< FName, fl...

 

PreviewCurveOverride

Pose Weight value that can override curve data.

Protected variable

FAnimNode_Singl...

 

SingleNode

The internal anim node that does our processing

Constructors

Destructors

Functions

Name Description

Public function Const

bool

 

CanProcessAdditiveAnimations()

Public function Const

float

 

GetCurrentTime()

Public function

FVector

 

GetFilterLastOutput()

Public function Const

float

 

GetPlayRate()

Public function Const

bool

 

IsLooping()

Public function Const

bool

 

IsPlaying()

Public function Const

bool

 

IsReverse()

Public function

void

 

PropagatePreviewCurve

(
    FPoseContext& Output
)

Public function

void

 

ResetWeightInfo()

Public function Virtual

void

 

SetAnimationAsset

(
    UAnimationAsset* NewAsset,
    USkeletalMeshComponent* MeshCo...,
    bool bIsLooping,
    float InPlayRate
)

Public function

void

 

SetBlendSpaceInput

(
    const FVector& InBlendInput
)

Public function

void

 

SetCurrentTime

(
    float InCurrentTime
)

Public function

void

 

SetLooping

(
    bool bIsLooping
)

Public function

void

 

SetMontagePreviewSlot

(
    FName PreviewSlot
)

Set the montage slot to preview.

Public function

void

 

SetPlaying

(
    bool bIsPlaying
)

Public function

void

 

SetPlayRate

(
    float InPlayRate
)

Public function

void

 

SetPreviewCurveOverride

(
    const FName& PoseName,
    float Value,
    bool bRemoveIfZero
)

Public function

void

 

SetReverse

(
    bool bInReverse
)

Public function

void

 

UpdateBlendspaceSamples

(
    FVector InBlendInput
)

Public function

void

 

UpdateMontageWeightForSlot

(
    const FName CurrentSlotNodeName,
    float InGlobalNodeWeight
)

Update internal weight structures for supplied slot name.

Overridden from FAnimInstanceProxy

Name Description

Public function Virtual

void

 

ClearObjects()

Clear any UObjects we might be using.

Public function Virtual

bool

 

Evaluate

(
    FPoseContext& Output
)

Evaluate override point

Public function Virtual

void

 

Initialize

(
    UAnimInstance* InAnimInstance
)

Called when our anim instance is being initialized

Public function Virtual

void

 

InitializeObjects

(
    UAnimInstance* InAnimInstance
)

Copy any UObjects we might be using. Called Pre-update and pre-evaluate.

Public function Virtual Const

void

 

PostUpdate

(
    UAnimInstance* InAnimInstance
)

Called after update so we can copy any data we need

Public function Virtual

void

 

PreUpdate

(
    UAnimInstance* InAnimInstance,
    float DeltaSeconds
)

Called before update so we can copy any data we need

Public function Virtual

void

 

UpdateAnimationNode

(
    float DeltaSeconds
)

Updates the anim graph

References

Module

Engine

Header

Runtime/Engine/Public/Animation/AnimSingleNodeInstanceProxy.h

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