This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com

c4d.modules.bodypaint.PaintMaterial – a paint material class

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

class c4d.modules.bodypaint.PaintMaterial

SuperClass

BaseList2D

Methods

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

This Page