#include <AtomGameplayShuffle.h>
FShuffleUtil - Utility to provide a fast random index in an array without replacement ie, all elements will be returned from GetNextIndex exactly once before repeating
◆ GetNextIndex()
| uint8 Atom::FShuffleUtil::GetNextIndex |
( |
| ) |
|
Returns next valid index, or INDEX_NONE if not initialized. Shuffles array if needed
◆ Initialize()
| void Atom::FShuffleUtil::Initialize |
( |
int32 | ArraySize | ) |
|
Initializes the Shuffle Array
◆ Shuffle()
| void Atom::FShuffleUtil::Shuffle |
( |
| ) |
|
|
protected |
Shuffles the internal array
◆ ShuffleArray
| TArray<uint8> Atom::FShuffleUtil::ShuffleArray |
|
protected |
◆ ShuffleMarker
| uint8 Atom::FShuffleUtil::ShuffleMarker = 0 |
|
protected |
The documentation for this struct was generated from the following files:
- C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Public/Atom/Gameplay/AtomGameplayShuffle.h
- C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Private/Atom/Gameplay/AtomGameplayShuffle.cpp