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

Type:

float in [-inf, inf], default 0.0

function_type#

Type of built-in function to use

  • SIN Sine.

  • COS Cosine.

  • TAN Tangent.

  • SQRT Square Root.

  • LN Natural Logarithm.

  • SINC Normalized Sine – sin(x) / x.

Type:

enum in [‘SIN’, ‘COS’, ‘TAN’, ‘SQRT’, ‘LN’, ‘SINC’], default ‘SIN’

phase_multiplier#

Scale factor determining the ‘speed’ of the function

Type:

float in [-inf, inf], default 0.0

phase_offset#

Constant factor to offset time by for function

Type:

float in [-inf, inf], default 0.0

use_additive#

Values generated by this modifier are applied on top of the existing values instead of overwriting them

Type:

boolean, default False

value_offset#

Constant factor to offset values by

Type:

float in [-inf, inf], default 0.0

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions