LineStyleThicknessModifier_Material(LineStyleThicknessModifier)
base classes — bpy_struct, LineStyleModifier, LineStyleThicknessModifier
- class bpy.types.LineStyleThicknessModifier_Material(LineStyleThicknessModifier)
Change line thickness based on a material attribute
- blend
Specify how the modifier value is blended into the base value (default
'MIX')- Type:
Literal[‘MIX’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘DIVIDE’, ‘DIFFERENCE’, ‘MINIMUM’, ‘MAXIMUM’]
- curve
Curve used for the curve mapping (readonly)
- Type:
- expanded
True if the modifier tab is expanded (default False)
- Type:
bool
- influence
Influence factor by which the modifier changes the property (in [0, 1], default 0.0)
- Type:
float
- invert
Invert the fade-out direction of the linear mapping (default False)
- Type:
bool
- mapping
Select the mapping type (default
'LINEAR')LINEARLinear – Use linear mapping.CURVECurve – Use curve mapping.
- Type:
Literal[‘LINEAR’, ‘CURVE’]
- material_attribute
Specify which material attribute is used (default
'LINE')- Type:
Literal[‘LINE’, ‘LINE_R’, ‘LINE_G’, ‘LINE_B’, ‘LINE_A’, ‘DIFF’, ‘DIFF_R’, ‘DIFF_G’, ‘DIFF_B’, ‘SPEC’, ‘SPEC_R’, ‘SPEC_G’, ‘SPEC_B’, ‘SPEC_HARD’, ‘ALPHA’]
- type
Type of the modifier (default
'ALONG_STROKE', readonly)- Type:
- use
Enable or disable this modifier during stroke rendering (default False)
- Type:
bool
- value_max
Maximum output value of the mapping (in [-inf, inf], default 0.0)
- Type:
float
- value_min
Minimum output value of the mapping (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: