unreal.RigVMFunction_RandomFloat
¶
- class unreal.RigVMFunction_RandomFloat(seed: int = 0, minimum: float = 0.0, maximum: float = 0.0, duration: float = 0.0, result: float = 0.0)¶
Bases:
RigVMFunction_MathBase
Generates a random float between a min and a max
C++ Source:
Module: RigVM
File: RigVMFunction_Random.h
Editor Properties: (see get_editor_property/set_editor_property)
duration
(float): [Read-Write] The duration at which the number won’t change. Use 0 for a different number every time. A negative number (for ex: -1) results in an infinite duration.maximum
(float): [Read-Write]minimum
(float): [Read-Write]result
(float): [Read-Write]seed
(int32): [Read-Write]