LineStyleColorModifier_Material(LineStyleColorModifier)
base classes — bpy_struct, LineStyleModifier, LineStyleColorModifier
- class bpy.types.LineStyleColorModifier_Material(LineStyleColorModifier)
Change line color based on a material attribute
- blend
Specify how the modifier value is blended into the base value (default
'MIX')- Type:
Literal[Ramp Blend Items]
- 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
- 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:
Literal[Linestyle Color Modifier Type Items]
- use
Enable or disable this modifier during stroke rendering (default False)
- Type:
bool
- use_ramp
Use color ramp to map the BW average into an RGB color (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: