c4d.Material

The material object created with Mmaterial.

Inheritance

Members

Material.__init__()
Return type: Material
Returns: The new material.
Material.GetChannelState(channel)

Return the state of a channel (if it is enabled or disabled).

Return type: bool
Returns: The type of channel:
CHANNEL_COLOR The color channel of the material.
CHANNEL_LUMINANCE The luminance channel of the material.
CHANNEL_TRANSPARENCY The transparency channel of the material.
CHANNEL_REFLECTION The reflection channel of the material.
CHANNEL_ENVIRONMENT The environment channel of the material.
CHANNEL_FOG The fog channel of the material.
CHANNEL_BUMP The bump channel of the material.
CHANNEL_ALPHA The alpha channel of the material.
CHANNEL_SPECULAR The specular channel of the material.
CHANNEL_SPECULARCOLOR The specular color channel of the material.
CHANNEL_GLOW The glow channel of the material.
CHANNEL_DISPLACEMENT The displacement channel of the material.
CHANNEL_DIFFUSION The diffusion channel of the material.
Material.SetChannelState(channel, state)

Set the state of a channel (if it is enabled or disabled).

Parameters:
  • channel (int) –

    The type of channel to change.

  • state (bool) – True to enable this channel.

Table Of Contents