unreal.RigVMFunction_RandomVector¶
- class unreal.RigVMFunction_RandomVector(seed: int = 0, minimum: float = 0.0, maximum: float = 0.0, duration: float = 0.0, result: Vector = Ellipsis)¶
Bases:
RigVMFunction_MathBaseGenerates a random vector between a min and a max
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(float): [Read-Write] The maximum value for the random number range for all components of the vectorminimum(float): [Read-Write] The minimum value for the random number range for all components of the vectorresult(Vector): [Read-Write] The resulting random vectorseed(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)
- property maximum: float¶
[Read-Write] The maximum value for the random number range for all components of the vector
- Type:
(float)