c4d.LayerShader

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

It looks like this:

../../../../../../../_images/layershader.png

Definition

class c4d.LayerShader

Inheritance

Members

LayerShader.__init__()

Initializes a new LayerShader in memory.

Return type:c4d.LayerShader
Returns:The new shader.
LayerShader.GetFirstLayer()

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.