Navigation
API > API/Runtime > API/Runtime/Engine
Update context passed around during animation tree update
| Name | FAnimationUpdateContext |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimNodeBase.h |
| Include Path | #include "Animation/AnimNodeBase.h" |
Syntax
struct FAnimationUpdateContext : public FAnimationBaseContext
Inheritance Hierarchy
- FAnimationBaseContext → FAnimationUpdateContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimationUpdateContext
(
FAnimInstanceProxy* InAnimInstanceProxy, |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext
(
const FAnimationUpdateContext& Copy, |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext
(
FAnimInstanceProxy* InAnimInstanceProxy |
Animation/AnimNodeBase.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentWeight | float | Animation/AnimNodeBase.h | ||
| DeltaTime | float | Animation/AnimNodeBase.h | ||
| RootMotionWeightModifier | float | Animation/AnimNodeBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimationUpdateContext AsInactive() |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext FractionalWeight
(
float WeightMultiplier |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext FractionalWeightAndRootMotion
(
float WeightMultiplier, |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext FractionalWeightAndTime
(
float WeightMultiplier, |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext FractionalWeightTimeAndRootMotion
(
float WeightMultiplier, |
Animation/AnimNodeBase.h | ||
float GetDeltaTime() |
Returns the delta time for this update, in seconds. | Animation/AnimNodeBase.h | |
float GetFinalBlendWeight() |
Returns the final blend weight contribution for this stage. | Animation/AnimNodeBase.h | |
float GetRootMotionWeightModifier() |
Returns the weight modifier for root motion (as root motion weight wont always match blend weight) | Animation/AnimNodeBase.h | |
FAnimationUpdateSharedContext * GetSharedContext() |
Returns persistent state that is tracked through animation tree update. | Animation/AnimNodeBase.h | |
void LogMessage
(
const TSharedRef< FTokenizedMessage >& InMessage |
Log update message. | Animation/AnimNodeBase.h | |
void LogMessage
(
EMessageSeverity::Type InSeverity, |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext WithNodeId
(
int32 InNodeId |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext WithOtherProxy
(
FAnimInstanceProxy* InAnimInstanceProxy |
Animation/AnimNodeBase.h | ||
FAnimationUpdateContext WithOtherSharedContext
(
FAnimationUpdateSharedContext* InSharedContext |
Animation/AnimNodeBase.h |