c4d.modules.bodypaint.PaintLayer

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

Definition

class c4d.modules.bodypaint.PaintLayer

Members

PaintLayer.GetShowBit(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(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 False.

PaintLayer.ToPaintLayerBmp()

New in version R16.021.

Casts the PaintLayer to a PaintLayerBmp.

Return type:PaintLayerBmp
Returns:The PaintLayer casted to a PaintLayerBmp.

Table Of Contents