Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FRandomStream
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor.The seed should be set prior to use. | Math/RandomStream.h | ||
FRandomStream
(
int32 InSeed |
Creates and initializes a new random stream from the specified seed value. | Math/RandomStream.h | |
FRandomStream
(
FName InName |
Creates and initializes a new random stream from the specified name. | Math/RandomStream.h |
FRandomStream()
Description
Default constructor.
The seed should be set prior to use.
| Name | FRandomStream |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/RandomStream.h |
| Include Path | #include "Math/RandomStream.h" |
FRandomStream()
FRandomStream(int32)
Description
Creates and initializes a new random stream from the specified seed value.
| Name | FRandomStream |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/RandomStream.h |
| Include Path | #include "Math/RandomStream.h" |
FRandomStream
(
int32 InSeed
)
Parameters
| Name | Remarks |
|---|---|
| InSeed | The seed value. |
FRandomStream(FName)
Description
Creates and initializes a new random stream from the specified name.
If NAME_None is provided, the stream will be seeded using the current time.
| Name | FRandomStream |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/RandomStream.h |
| Include Path | #include "Math/RandomStream.h" |
FRandomStream
(
FName InName
)
Parameters
| Name | Remarks |
|---|---|
| InName | The name value from which the stream will be initialized. |