Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/FAnimNode_RandomPlayer
Description
Build a new ShuffleList array, which is a shuffled index list of all the valid playable entries in ValidEntries. The LastEntry can be set to a valid entry index to ensure that the top/last item in the shuffle list will be a different value from it; pass in INDEX_NONE to disable the check.
| Name | BuildShuffleList |
| Type | function |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_RandomPlayer.h |
| Include Path | #include "AnimNodes/AnimNode_RandomPlayer.h" |
| Source | /Engine/Source/Runtime/AnimGraphRuntime/Private/AnimNodes/AnimNode_RandomPlayer.cpp |
void BuildShuffleList
(
int32 LastEntry
)