c4d.modules.bodypaint.PaintLayer

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

Methods Signatures

PaintLayer.GetShowBit()

Get the visibility of the layer.

PaintLayer.SetShowBit()

Set the visibility of the layer.

PaintLayer.ToPaintLayerBmp()

Casts the PaintLayer to a PaintLayerBmp.

Inheritance

Parent Class:

Children Classes:

Methods Documentation

PaintLayer.GetShowBit(self, hierarchy, bit)

Get the visibility 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 False.

PaintLayer.SetShowBit(self, 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 successful, otherwise False.

PaintLayer.ToPaintLayerBmp(self)

Casts the PaintLayer to a PaintLayerBmp.

New in version R16.021.

Return type

c4d.modules.bodypaint.PaintLayerBmp

Returns

The PaintLayer casted to a PaintLayerBmp.