Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FRandomStream
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
int32 InSeed |
Initializes this random stream with the specified seed value. | Math/RandomStream.h | |
void Initialize
(
FName InName |
Initializes this random stream using the specified name. | Math/RandomStream.h |
Initialize(int32)
Description
Initializes this random stream with the specified seed value.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/RandomStream.h |
| Include Path | #include "Math/RandomStream.h" |
void Initialize
(
int32 InSeed
)
Parameters
| Name | Remarks |
|---|---|
| InSeed | The seed value. |
Initialize(FName)
Description
Initializes this random stream using the specified name.
If NAME_None is provided, the stream will be seeded using the current time.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/RandomStream.h |
| Include Path | #include "Math/RandomStream.h" |
void Initialize
(
FName InName
)
Parameters
| Name | Remarks |
|---|---|
| InName | The name value from which the stream will be initialized. |