FAnimationUpdateContext

Update context passed around during animation tree update

Windows
MacOS
Linux

Inheritance Hierarchy

FAnimationBaseContext

FAnimationUpdateContext

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimNodeBase.h

Include

#include "Animation/AnimNodeBase.h"

Syntax

struct FAnimationUpdateContext : public FAnimationBaseContext

Remarks

Update context passed around during animation tree update

Constructors

Name Description

Public function

FAnimationUpdateContext

(
    FAnimInstanceProxy* InAnimInst...
)

Public function

FAnimationUpdateContext

(
    const FAnimationUpdateContext& Cop...
)

Public function

FAnimationUpdateContext

(
    const FAnimationUpdateContext& Cop...,
    FAnimInstanceProxy* InAnimInst...
)

Public function

FAnimationUpdateContext

(
    FAnimInstanceProxy* InAnimInst...,
    float InDeltaTime,
    FAnimationUpdateSharedContext*...
)

Functions

Name Description

Public function Const

FAnimationUp...

 

FractionalWeight

(
    float WeightMultiplier
)

Public function Const

FAnimationUp...

 

FractionalWeightAndRootMotion

(
    float WeightMultiplier,
    float RootMotionMultiplier
)

Public function Const

FAnimationUp...

 

FractionalWeightAndTime

(
    float WeightMultiplier,
    float TimeMultiplier
)

Public function Const

FAnimationUp...

 

FractionalWeightTimeAndRootMotion

(
    float WeightMultiplier,
    float TimeMultiplier,
    float RootMotionMultiplier
)

Public function Const

NodeType ...

 

GetAncestor()

Returns the nearest ancestor node of a particular type.

Public function Const

float

 

GetDeltaTime()

Returns the delta time for this update, in seconds.

Public function Const

float

 

GetFinalBlendWeight()

Returns the final blend weight contribution for this stage.

Public function Const

float

 

GetRootMotionWeightModifier()

Returns the weight modifier for root motion (as root motion weight wont always match blend weight)

Public function Const

FAnimationUp...

 

GetSharedContext()

Returns persistent state that is tracked through animation tree update.

Public function Const

void

 

LogMessage

(
    EMessageSeverity::Type InSeverity,
    FText InMessage
)

Log update message.

Public function Const

FScopedAnimN...

 

TrackAncestor

(
    NodeType* Node
)

Add a node to the list of tracked ancestors.

Public function Const

FAnimationUp...

 

WithNodeId

(
    int32 InNodeId
)

Public function Const

FAnimationUp...

 

WithOtherProxy

(
    FAnimInstanceProxy* InAnimInst...
)

Public function Const

FAnimationUp...

 

WithOtherSharedContext

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