FModifierFunctionGenerator(FModifier)
base classes — bpy_struct, FModifier
- class bpy.types.FModifierFunctionGenerator(FModifier)
Generate values using a built-in function
- amplitude
Scale factor determining the maximum/minimum values (in [-inf, inf], default 1.0)
- Type:
float
- function_type
Type of built-in function to use (default
'SIN')SINSine.COSCosine.TANTangent.SQRTSquare Root.LNNatural Logarithm.SINCNormalized Sine – sin(x) / x.
- Type:
Literal[‘SIN’, ‘COS’, ‘TAN’, ‘SQRT’, ‘LN’, ‘SINC’]
- phase_multiplier
Scale factor determining the ‘speed’ of the function (in [-inf, inf], default 1.0)
- Type:
float
- phase_offset
Constant factor to offset time by for function (in [-inf, inf], default 0.0)
- Type:
float
- use_additive
Values generated by this modifier are applied on top of the existing values instead of overwriting them (default False)
- Type:
bool
- value_offset
Constant factor to offset values by (in [-inf, inf], default 0.0)
- Type:
float
- 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