|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Thread-safe random number generator that can be manually seeded. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\RandomStream.h. More...
Public Member Functions | |
Functions | |
| int | RandRange (int Min, int Max) const |
| void | Initialize (uint InSeed) |
| void | Reset () const |
| int | GetInitialSeed () const |
| void | GenerateNewSeed () |
| float32 | GetFraction () const |
| uint | GetUnsignedInt () const |
| int | GetCurrentSeed () const |
| void | Initialize (int InSeed) |
| float | RandRange (float Min, float Max) const |
| void | Initialize (FName InName) |
| FVector | GetUnitVector () const |
| FVector | VRand () const |
| FVector | VRandCone (FVector Dir, float32 ConeHalfAngleRad) const |
| FVector | VRandCone (FVector Dir, float32 HorizontalConeHalfAngleRad, float32 VerticalConeHalfAngleRad) const |
| FString | ToString () const |
Public Attributes | |
Variables | |
| const float32 | Fraction |
| const uint | UnsignedInt |
| const int | CurrentSeed |
| const FVector | UnitVector |
| const int | InitialSeed |
Thread-safe random number generator that can be manually seeded. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\RandomStream.h.
| void GenerateNewSeed | ( | ) |
| int GetCurrentSeed | ( | ) | const |
| float32 GetFraction | ( | ) | const |
| int GetInitialSeed | ( | ) | const |
| FVector GetUnitVector | ( | ) | const |
| uint GetUnsignedInt | ( | ) | const |
| void Initialize | ( | FName | InName | ) |
| void Initialize | ( | int | InSeed | ) |
| void Initialize | ( | uint | InSeed | ) |
| float RandRange | ( | float | Min, |
| float | Max ) const |
| int RandRange | ( | int | Min, |
| int | Max ) const |
| void Reset | ( | ) | const |
| FString ToString | ( | ) | const |
| FVector VRand | ( | ) | const |
| FVector VRandCone | ( | FVector | Dir, |
| float32 | HorizontalConeHalfAngleRad, | ||
| float32 | VerticalConeHalfAngleRad ) const |
| const int CurrentSeed |
| const float32 Fraction |
| const int InitialSeed |
| const FVector UnitVector |
| const uint UnsignedInt |