# 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)

  `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

Inherited Properties

`bpy_struct.id_data` |

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` | `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`

References

`Brush.curve` `ColorManagedViewSettings.curve_mapping` `CompositorNodeCurveRGB.mapping` `CompositorNodeCurveVec.mapping` `CompositorNodeHueCorrect.mapping` `CompositorNodeTime.curve` `CurvesModifier.curve_mapping` `HookModifier.falloff_curve` `HueCorrectModifier.curve_mapping` `LineStyleAlphaModifier_AlongStroke.curve` `LineStyleAlphaModifier_CreaseAngle.curve` `LineStyleAlphaModifier_Curvature_3D.curve` `LineStyleAlphaModifier_DistanceFromCamera.curve` `LineStyleAlphaModifier_DistanceFromObject.curve` `LineStyleAlphaModifier_Material.curve` `LineStyleAlphaModifier_Noise.curve` `LineStyleAlphaModifier_Tangent.curve` `LineStyleThicknessModifier_AlongStroke.curve` `LineStyleThicknessModifier_CreaseAngle.curve` | `LineStyleThicknessModifier_Curvature_3D.curve` `LineStyleThicknessModifier_DistanceFromCamera.curve` `LineStyleThicknessModifier_DistanceFromObject.curve` `LineStyleThicknessModifier_Material.curve` `LineStyleThicknessModifier_Tangent.curve` `Paint.cavity_curve` `ParticleBrush.curve` `ParticleSettings.clump_curve` `ParticleSettings.roughness_curve` `PointDensity.falloff_curve` `PointLamp.falloff_curve` `RenderSettings.motion_blur_shutter_curve` `ShaderNodeRGBCurve.mapping` `ShaderNodeVectorCurve.mapping` `SpotLamp.falloff_curve` `TextureNodeCurveRGB.mapping` `TextureNodeCurveTime.curve` `VertexWeightEditModifier.map_curve` `WarpModifier.falloff_curve`