FAnimNode_RandomPlayer::BuildShuffleList

Build a new ShuffleList array, which is a shuffled index list of all the valid playable entries in ValidEntries.

Windows
MacOS
Linux

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_RandomPlayer.h

Include

#include "AnimNodes/AnimNode_RandomPlayer.h"

Source

/Engine/Source/Runtime/AnimGraphRuntime/Private/AnimNodes/AnimNode_RandomPlayer.cpp

Syntax

void BuildShuffleList
(
    int32 LastEntry
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss