c4d.modules.render.ChannelData

class c4d.modules.render.ChannelData

Attributes

ChannelData.p

The texture position in UVW coordinates.

Type: Vector

ChannelData.n

The surface normal.

Type: Vector

ChannelData.d

The MIP sample radius in UVW coordinates.

Type: Vector

ChannelData.t

The current time in seconds.

Type: float

ChannelData.texflag

The texture flags, these values are:

TEX_TILE

Texture tile enabled.

TEX_MIRROR

Texture mirroring enabled.

TEX_ALPHA

Texture uses alpha channel (for use within channel shaders).

TEX_BUMP

Bump calculation.

ChannelData.vd

[Read-only]

Volume information, this can be None.

Type: Optional[c4d.modules.render.VolumeData]

ChannelData.off

The MIP blur offset.

Type: float

ChannelData.scale

The MIP blur scale.

Type: float

Methods Signatures

ChannelData.__init__(self, t_vd)

Initializes a new channel data, optionally from t_vd BaseVolumeData if passed.

Methods Documentation

ChannelData.__init__(self, t_vd)

Initializes a new channel data, optionally from t_vd BaseVolumeData if passed.

Parameters

t_vd (c4d.modules.render.BaseVolumeData) – The volume data to take p, n and d from.