CurveMapping(bpy_struct)

base class — bpy_struct

class bpy.types.CurveMapping(bpy_struct)

Curve mapping to map color, vector and scalar values to other values using a user defined curve

black_level

For RGB curves, the color that black is mapped to

Type:float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
clip_max_x
Type:float in [-100, 100], default 0.0
clip_max_y
Type:float in [-100, 100], default 0.0
clip_min_x
Type:float in [-100, 100], default 0.0
clip_min_y
Type:float in [-100, 100], default 0.0
curves
Type:bpy_prop_collection of CurveMap, (readonly)
tone

Tone of the curve

Type:enum in [‘STANDARD’, ‘FILMLIKE’], default ‘STANDARD’
use_clip

Force the curve view to fit a defined boundary

Type:boolean, default False
white_level

For RGB curves, the color that white is mapped to

Type:float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
update()

Update curve mapping after making changes

initialize()

Initialize curve

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

References