|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <AtomGameplayShuffle.h>
公開メンバ関数 | |
| CRI_API uint8 | GetNextIndex () |
| CRI_API void | Initialize (int32 ArraySize) |
限定公開メンバ関数 | |
| CRI_API void | Shuffle () |
限定公開変数類 | |
| TArray< uint8 > | ShuffleArray |
| uint8 | ShuffleMarker = 0 |
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
| uint8 Atom::FShuffleUtil::GetNextIndex | ( | ) |
Returns next valid index, or INDEX_NONE if not initialized. Shuffles array if needed
| void Atom::FShuffleUtil::Initialize | ( | int32 | ArraySize | ) |
Initializes the Shuffle Array
|
protected |
Shuffles the internal array
|
protected |
|
protected |