unreal.RigVMFunction_RandomInt¶
- class unreal.RigVMFunction_RandomInt(seed: int = 0, minimum: int = 0, maximum: int = 0, duration: float = 0.0, result: int = 0)¶
Bases:
RigVMFunction_MathBaseGenerates a random integer between a min and a max (inclusive)
C++ Source:
Plugin: RigVM
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(int32): [Read-Write] The maximum value for the random number range (inclusive)minimum(int32): [Read-Write] The minimum value for the random number rangeresult(int32): [Read-Write] The resulting random numberseed(int32): [Read-Write] The seed for the random number generator
- 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.
- Type:
(float)