unreal.RandomStream

class unreal.RandomStream(initial_seed: int = 0)

Bases: StructBase

Thread-safe random number generator that can be manually seeded. note: The full C++ class is located here: EngineSourceRuntimeCorePublicMathRandomStream.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • initial_seed (int32): [Read-Write] Initial Seed: Holds the initial seed.

property initial_seed: int

[Read-Write] Initial Seed: Holds the initial seed.

Type:

(int32)