Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
| Name | FSharedStateRandomGetManager |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundArrayRandomNode.h |
| Include Path | #include "MetasoundArrayRandomNode.h" |
Syntax
class FSharedStateRandomGetManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSharedStateRandomGetManager() |
MetasoundArrayRandomNode.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSharedStateRandomGetManager() |
MetasoundArrayRandomNode.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CritSect | FCriticalSection | MetasoundArrayRandomNode.h | ||
| RandomGets | TMap< FGuid, TUniquePtr< FArrayRandomGet > > | MetasoundArrayRandomNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitOrUpdate
(
InitSharedStateArgs& InStateArgs |
Initialize or update state for a given shared state id. No lock, so call this function within one if needed. | MetasoundArrayRandomNode.h | |
void InitSharedState
(
InitSharedStateArgs& InArgs |
MetasoundArrayRandomNode.h | ||
| MetasoundArrayRandomNode.h | |||
int32 NextValue
(
const FGuid& InSharedStateId, |
Get the next array index Init or update state with the given args, then return next value (within a single lock operation) | MetasoundArrayRandomNode.h | |
| MetasoundArrayRandomNode.h | |||
void ResetSeed
(
const FGuid& InSharedStateId, |
Init or update state with the given args, then reset seed (within a single lock operation) | MetasoundArrayRandomNode.h | |
void SetNoRepeatOrder
(
const FGuid& InSharedStateId, |
MetasoundArrayRandomNode.h | ||
| MetasoundArrayRandomNode.h | |||
void SetSeed
(
const FGuid& InSharedStateId, |
MetasoundArrayRandomNode.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FSharedStateRandomGetManager & Get() |
MetasoundArrayRandomNode.h |