Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
| Name | FAnimNode_RandomPlayer |
| Type | struct |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_RandomPlayer.h |
| Include Path | #include "AnimNodes/AnimNode_RandomPlayer.h" |
Syntax
USTRUCT (BlueprintInternalUseOnly)
struct FAnimNode_RandomPlayer : public FAnimNode_AssetPlayerRelevancyBase
Inheritance Hierarchy
- FAnimNode_Base → FAnimNode_AssetPlayerRelevancyBase → FAnimNode_RandomPlayer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimNode_RandomPlayer() |
AnimNodes/AnimNode_RandomPlayer.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShuffleMode | bool | When shuffle mode is active we will never loop a sequence beyond MaxLoopCount without visiting each sequence in turn (no repeats). | AnimNodes/AnimNode_RandomPlayer.h |
|
| Entries | TArray< FRandomPlayerSequenceEntry > | List of sequences to randomly step through | AnimNodes/AnimNode_RandomPlayer.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIgnoreForRelevancyTest | bool | If true, "Relevant anim" nodes that look for the highest weighted animation in a state will ignore this node. | AnimNodes/AnimNode_RandomPlayer.h |
|
| CurrentPlayDataIndex | int32 | Index of the 'current' data set in the PlayData array. | AnimNodes/AnimNode_RandomPlayer.h | |
| NormalizedPlayChances | TArray< float > | Normalized list of play chances when we aren't using shuffle mode. | AnimNodes/AnimNode_RandomPlayer.h | |
| PlayData | TArray< FRandomAnimPlayData > | Play data for the current and next sequence. | AnimNodes/AnimNode_RandomPlayer.h | |
| RandomStream | FRandomStream | Random number source. | AnimNodes/AnimNode_RandomPlayer.h | |
| ShuffleList | TArray< int32 > | List to store transient shuffle stack in shuffle mode. | AnimNodes/AnimNode_RandomPlayer.h | |
| ValidEntries | TArray< FRandomPlayerSequenceEntry * > | List of valid sequence entries. | AnimNodes/AnimNode_RandomPlayer.h |
Functions
Public
Overridden from FAnimNode_AssetPlayerRelevancyBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ClearCachedBlendWeight() |
AnimNodes/AnimNode_RandomPlayer.h | ||
virtual float GetAccumulatedTime() |
AnimNodes/AnimNode_RandomPlayer.h | ||
virtual UAnimationAsset * GetAnimAsset() |
FAnimNode_RelevantAssetPlayerBase. | AnimNodes/AnimNode_RandomPlayer.h | |
virtual float GetCachedBlendWeight() |
AnimNodes/AnimNode_RandomPlayer.h | ||
virtual const FDeltaTimeRecord * GetDeltaTimeRecord() |
AnimNodes/AnimNode_RandomPlayer.h | ||
virtual bool GetIgnoreForRelevancyTest() |
AnimNodes/AnimNode_RandomPlayer.h | ||
virtual bool SetIgnoreForRelevancyTest
(
bool bInIgnoreForRelevancyTest |
AnimNodes/AnimNode_RandomPlayer.h |
Overridden from FAnimNode_Base
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate_AnyThread
(
FPoseContext& Output |
AnimNodes/AnimNode_RandomPlayer.h | ||
virtual void GatherDebugData
(
FNodeDebugData& DebugData |
AnimNodes/AnimNode_RandomPlayer.h | ||
virtual void Initialize_AnyThread
(
const FAnimationInitializeContext& Context |
AnimNodes/AnimNode_RandomPlayer.h | ||
virtual void Update_AnyThread
(
const FAnimationUpdateContext& Context |
AnimNodes/AnimNode_RandomPlayer.h |