unreal.RandomStream

class unreal.RandomStream(initial_seed=0)

Bases: unreal.StructBase

Thread-safe random number generator that can be manually seeded. 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] Holds the initial seed.
initial_seed

(int32) – [Read-Write] Holds the initial seed.