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.PaintLayer – a paint bitmap class

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

class c4d.modules.bodypaint.PaintLayer

SuperClass

PaintBitmap

Methods

PaintLayer.GetShowBit(hierarchy, bit)

Get the visibilty of the layer.

Parameters:
  • hierarchy (bool) – If True the visiblity of the parents is taken into account (think of layer sets).
  • bit (int) – Must be set to 0.
Return type:

bool

Returns:

True if visible, otherwise True.

PaintLayer.SetShowBit(onoff, bit)

Set the visibility of the layer.

Parameters:
  • onoff (bool) – True if visible, otherwise False.
  • bit (int) – Must be set to 0.
Return type:

bool

Returns:

True if succesful, otherwise :keyword:`

Table Of Contents

This Page