c4d.modules.bodypaint.PaintMaterial

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

Methods Signatures

PaintMaterial.EnableMaterial(self, doc, on[, ...])

Enable material for painting.

Inheritance

Parent Class:

Methods Documentation

PaintMaterial.EnableMaterial(self, 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.