Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph
State that propagates down the graph during the update traversal.
We align this to 16 bytes and maintain that same size to ensure efficient copying.
| Name | FTraitUpdateState |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitInterfaces/IUpdate.h |
| Include Path | #include "TraitInterfaces/IUpdate.h" |
Syntax
struct FTraitUpdateState
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| TraitInterfaces/IUpdate.h | |||
FTraitUpdateState
(
float InDeltaTime |
TraitInterfaces/IUpdate.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsBlendingOut | int8 | Whether or not we are blending out. | TraitInterfaces/IUpdate.h | |
| bIsNewlyRelevant | int8 | Whether or not we newly became relevant. | TraitInterfaces/IUpdate.h | |
| DeltaTime | float | The amount of time to move forward by at allowing parents to time scale their children. | TraitInterfaces/IUpdate.h | |
| TotalTrajectoryWeight | float | The current total trajectory weight factoring in all inherited blend weights. | TraitInterfaces/IUpdate.h | |
| TotalWeight | float | The current total weight factoring in all inherited blend weights. | TraitInterfaces/IUpdate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTraitUpdateState AsBlendingOut
(
bool InIsBlendingOut |
Creates a new instance of the update state marking it as blending out. | TraitInterfaces/IUpdate.h | |
FTraitUpdateState AsNewlyRelevant
(
bool InIsNewlyRelevant |
Creates a new instance of the update state marking it as newly relevant. | TraitInterfaces/IUpdate.h | |
float GetDeltaTime() |
Returns the delta time for this trait. | TraitInterfaces/IUpdate.h | |
float GetTotalTrajectoryWeight() |
Returns the total trajectory weight for this trait. | TraitInterfaces/IUpdate.h | |
float GetTotalWeight() |
Returns the total weight for this trait. | TraitInterfaces/IUpdate.h | |
bool IsBlendingOut() |
Returns whether or not this trait is blending out. | TraitInterfaces/IUpdate.h | |
bool IsNewlyRelevant() |
Returns whether or not this trait is newly relevant. | TraitInterfaces/IUpdate.h | |
FTraitUpdateState WithDeltaTime
(
float InDeltaTime |
Creates a new instance of the update state with the specified delta time. | TraitInterfaces/IUpdate.h | |
FTraitUpdateState WithTimeScale
(
float TimeScale |
Creates a new instance of the update state with the delta time scaled by the supplied scale factor. | TraitInterfaces/IUpdate.h | |
FTraitUpdateState WithTrajectoryWeight
(
float Weight |
Creates a new instance of the update state with the total trajectory weight scaled by the supplied weight. | TraitInterfaces/IUpdate.h | |
FTraitUpdateState WithWeight
(
float Weight |
Creates a new instance of the update state with the total weight scaled by the supplied weight. | TraitInterfaces/IUpdate.h |