RandomActuator(Actuator)
base classes — bpy_struct, Actuator
- class bpy.types.RandomActuator(Actuator)
- chance
Pick a number between 0 and 1, success if it’s below this value (in [0, 1], default 0.0)
- Type:
float
- distribution
Choose the type of distribution (default
'BOOL_CONSTANT')- Type:
Literal[‘BOOL_CONSTANT’, ‘BOOL_UNIFORM’, ‘BOOL_BERNOUILLI’, ‘INT_CONSTANT’, ‘INT_UNIFORM’, ‘INT_POISSON’, ‘FLOAT_CONSTANT’, ‘FLOAT_UNIFORM’, ‘FLOAT_NORMAL’, ‘FLOAT_NEGATIVE_EXPONENTIAL’]
- float_max
Choose a number from a range: upper boundary of the range (in [-1000, 1000], default 0.0)
- Type:
float
- float_mean
A normal distribution: mean of the distribution (in [-1000, 1000], default 0.0)
- Type:
float
- float_min
Choose a number from a range: lower boundary of the range (in [-1000, 1000], default 0.0)
- Type:
float
- float_value
Always return this number (in [0, 1], default 0.0)
- Type:
float
- half_life_time
Negative exponential dropoff (in [-1000, 1000], default 0.0)
- Type:
float
- int_max
Choose a number from a range: upper boundary of the range (in [-1000, 1000], default 0)
- Type:
int
- int_mean
Expected mean value of the distribution (in [0.01, 100], default 0.0)
- Type:
float
- int_min
Choose a number from a range: lower boundary of the range (in [-1000, 1000], default 0)
- Type:
int
- int_value
Always return this number (in [-inf, inf], default 0)
- Type:
int
- property
Assign the random value to this property (default “”, never None)
- Type:
str
- seed
Initial seed of the random generator, use Python for more freedom (choose 0 for not random) (in [0, 1048574], default 0)
- Type:
int
- standard_derivation
A normal distribution: standard deviation of the distribution (in [-1000, 1000], default 0.0)
- Type:
float
- use_always_true
Always false or always true (default False)
- Type:
bool
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type