Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph > API/Plugins/AnimNextAnimGraph/TraitInterfaces
References
| Module | AnimNextAnimGraph |
| Header | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitInterfaces/IUpdate.h |
| Include | #include "TraitInterfaces/IUpdate.h" |
Syntax
struct FTraitUpdateState
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTraitUpdateState
(
float InDeltaTime |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FTraitUpdateState | AsBlendingOut
(
bool InIsBlendingOut |
Creates a new instance of the update state marking it as blending out. | |
| FTraitUpdateState | AsNewlyRelevant
(
bool InIsNewlyRelevant |
Creates a new instance of the update state marking it as newly relevant. | |
| float | GetDeltaTime () |
Returns the delta time for this trait. | |
| float | Returns the total trajectory weight for this trait. | ||
| float | Returns the total weight for this trait. | ||
| bool | Returns whether or not this trait is blending out. | ||
| bool | Returns whether or not this trait is newly relevant. | ||
| FTraitUpdateState | WithTimeScale
(
float TimeScale |
Creates a new instance of the update state with the delta time scaled by the supplied scale factor. | |
| FTraitUpdateState | WithTrajectoryWeight
(
float Weight |
Creates a new instance of the update state with the total trajectory weight scaled by the supplied weight. | |
| FTraitUpdateState | WithWeight
(
float Weight |
Creates a new instance of the update state with the total weight scaled by the supplied weight. |