c4d.modules.bodypaint.PaintMaterial

The abstract base class of all paint classes. Can be a texture, material, layer or mask.

Definition

class c4d.modules.bodypaint.PaintMaterial

Inheritance

Members

PaintMaterial.EnableMaterial(doc, on[, suppressevent=False][, domaterialundo=True])

Enable material for painting.

Param:

The document the material belongs to.

Parameters:
  • on (bool) – RUE to enable the material for painting, False to disable it.
  • suppressevent (bool) – Private.
  • domaterialundo (bool) – If True an undo is created on the undo stack.

Table Of Contents