ColorMapping(bpy_struct)¶
base class — bpy_struct
- class bpy.types.ColorMapping(bpy_struct)¶
Color mapping settings
- blend_color¶
Blend color to mix with texture output color (array of 3 items, in [0, inf], default (0.0, 0.0, 0.0))
- Type:
- blend_factor¶
(in [-inf, inf], default 0.0)
- Type:
float
- blend_type¶
Mode used to mix with texture output color (default
'MIX')- Type:
Literal[‘MIX’, ‘DARKEN’, ‘MULTIPLY’, ‘LIGHTEN’, ‘SCREEN’, ‘ADD’, ‘OVERLAY’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’, ‘DIFFERENCE’, ‘SUBTRACT’, ‘DIVIDE’, ‘HUE’, ‘SATURATION’, ‘COLOR’, ‘VALUE’]
- brightness¶
Adjust the brightness of the texture (in [0, 2], default 0.0)
- Type:
float
- contrast¶
Adjust the contrast of the texture (in [0, 5], default 0.0)
- Type:
float
- saturation¶
Adjust the saturation of colors in the texture (in [0, 2], default 0.0)
- Type:
float
- use_color_ramp¶
Toggle color ramp operations (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:
- 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