c4d.LayerShader

class c4d.LayerShader

Represents a layer shader that can contain several layers of different types (shaders, folders, effects).

It looks like this:

../../../../../../../_images/layershader_layershader.png

Methods Signatures

LayerShader.__init__(self)

Initializes a new LayerShader in memory.

LayerShader.GetFirstLayer(self)

Returns the first layer of the shader.

Inheritance

Parent Class:

Methods Documentation

LayerShader.__init__(self)

Initializes a new LayerShader in memory.

Return type

c4d.LayerShader

Returns

The new shader.

LayerShader.GetFirstLayer(self)

Returns the first layer of the shader.

Note

To navigate through all the layers of a layer shader, get its first layer then use LayerShaderLayer.GetNext().

Return type

c4d.LayerShaderLayer

Returns

The first layer in the layer shader.