LineStyleAlphaModifier_Material(LineStyleAlphaModifier)
base classes — bpy_struct, LineStyleModifier, LineStyleAlphaModifier
- class bpy.types.LineStyleAlphaModifier_Material(LineStyleAlphaModifier)
Change alpha transparency based on a material attribute
- blend
Specify how the modifier value is blended into the base value
- Type:
enum in [
'MIX','ADD','SUBTRACT','MULTIPLY','DIVIDE','DIFFERENCE','MINIMUM','MAXIMUM'], default"'MIX'"
- curve
Curve used for the curve mapping
- Type:
CurveMapping, (readonly)
- expanded
True if the modifier tab is expanded
- Type:
boolean, default False
- influence
Influence factor by which the modifier changes the property
- Type:
float in [0, 1], default 0.0
- invert
Invert the fade-out direction of the linear mapping
- Type:
boolean, default False
- mapping
Select the mapping type
LINEARLinear – Use linear mapping.CURVECurve – Use curve mapping.
- Type:
enum in [
'LINEAR','CURVE'], default"'LINEAR'"
- material_attribute
Specify which material attribute is used
- Type:
enum in [
'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'], default"'LINE'"
- type
Type of the modifier
- Type:
enum in Linestyle Alpha Modifier Type Items, default
"'ALONG_STROKE'", (readonly)
- use
Enable or disable this modifier during stroke rendering
- Type:
boolean, default False
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
bpy.types.Structsubclass