Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/AnimNodes
Inheritance Hierarchy
- FAnimNode_Base
- FAnimNode_AssetPlayerRelevancyBase
- FAnimNode_RandomPlayer
References
| Module | AnimGraphRuntime |
| Header | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_RandomPlayer.h |
| Include | #include "AnimNodes/AnimNode_RandomPlayer.h" |
Syntax
struct FAnimNode_RandomPlayer : public FAnimNode_AssetPlayerRelevancyBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | BlendWeight | Last encountered blend weight for this node | |
| bool | bShuffleMode | When shuffle mode is active we will never loop a sequence beyond MaxLoopCount without visiting each sequence in turn (no repeats). | |
| TArray< FRandomPlayerSequenceEntry > | Entries | List of sequences to randomly step through |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FAnimNode_AssetPlayerRelevancyBase
| Type | Name | Description | |
|---|---|---|---|
| void | Set the cached blendweight to zero | ||
| float | Get the currently referenced time within the asset player node | ||
| UAnimationAsset * | GetAnimAsset () |
FAnimNode_RelevantAssetPlayerBase. | |
| float | Get the last encountered blend weight for this node | ||
| const FDeltaTimeRecord * | Get the delta time record owned by this asset player (or null) | ||
| bool | Check whether this node should be ignored when testing for relevancy in state machines. | ||
| bool | SetIgnoreForRelevancyTest
(
bool bInIgnoreForRelevancyTest |
Set whether this node should be ignored when testing for relevancy in state machines. |
Overridden from FAnimNode_Base
| Type | Name | Description | |
|---|---|---|---|
| void | Evaluate_AnyThread
(
FPoseContext& Output |
Called to evaluate local-space bones transforms according to the weights set up in Update(). | |
| void | GatherDebugData
(
FNodeDebugData& DebugData |
Called to gather on-screen debug data. This is called on the game thread. | |
| void | Initialize_AnyThread
(
const FAnimationInitializeContext& Context |
Called when the node first runs. | |
| void | Update_AnyThread
(
const FAnimationUpdateContext& Context |
Called to update the state of the graph relative to this node. |