Paint(bpy_struct)#

base class — bpy_struct

subclasses — CurvesSculpt, GpPaint, GpSculptPaint, GpVertexPaint, GpWeightPaint, ImagePaint, Sculpt, UvSculpt, VertexPaint

class bpy.types.Paint(bpy_struct)#
brush#

Active brush

Type:

Brush

brush_asset_reference#

A weak reference to the matching brush asset, used e.g. to restore the last used brush on file load

Type:

AssetWeakReference, (readonly)

cavity_curve#

Editable cavity curve

Type:

CurveMapping, (readonly, never None)

eraser_brush#

Default eraser brush for quickly alternating with the main brush

Type:

Brush

eraser_brush_asset_reference#

A weak reference to the matching brush asset, used e.g. to restore the last used brush on file load

Type:

AssetWeakReference, (readonly)

palette#

Active Palette

Type:

Palette

show_brush#
Type:

boolean, default False

show_brush_on_surface#
Type:

boolean, default False

show_low_resolution#

For multires, show low resolution while navigating the view

Type:

boolean, default False

tile_offset#

Stride at which tiled strokes are copied

Type:

mathutils.Vector of 3 items in [0.01, inf], default (0.0, 0.0, 0.0)

tile_x#

Tile along X axis

Type:

boolean, default False

tile_y#

Tile along Y axis

Type:

boolean, default False

tile_z#

Tile along Z axis

Type:

boolean, default False

use_cavity#

Mask painting according to mesh geometry cavity

Type:

boolean, default False

use_sculpt_delay_updates#

Update the geometry when it enters the view, providing faster view navigation

Type:

boolean, default False

use_symmetry_feather#

Reduce the strength of the brush where it overlaps symmetrical daubs

Type:

boolean, default False

use_symmetry_x#

Mirror brush across the X axis

Type:

boolean, default False

use_symmetry_y#

Mirror brush across the Y axis

Type:

boolean, default False

use_symmetry_z#

Mirror brush across the Z axis

Type:

boolean, default False

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#