unreal.RandomStream

class unreal.RandomStream(initial_seed=0)

Bases: unreal.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] Holds the initial seed.

property initial_seed

[Read-Write] Holds the initial seed.

Type

(int32)