#include <c4d_raytrace.h>
◆ RayLight()
◆ ln
The light noise structure. Always valid, not nullptr.
◆ ls
The shadow structure. Always valid, not nullptr.
◆ lv
The visible light structure. Always valid, not nullptr.
◆ link
The link to the 'real' light object.
◆ calc_illum
true if the light source illuminates.
◆ m_inverse
The inverse light matrix.
◆ type
◆ stype
◆ vtype
◆ ntype
◆ falloff
◆ innerangle
The inner angle of light cone, only relevant if the light source is a spot.
◆ outerangle
The outer angle of light cone, only relevant if the light source is a spot.
◆ innerradius
The inner radius of light cylinder, only relevant if the light source is a parallel spot.
◆ outerradius
The outer radius of light cylinder, only relevant if the light source is a parallel spot.
◆ aspectratio
The Y distortion, to get the resulting matrix system multiply by m.sqmat.v2
.
◆ arealight
true if the light source acts as arealight.
◆ ambient
The light source illuminates ambient light.
◆ nodiffuse
The light source does not affect the diffuse component.
◆ nospecular
The light source does not affect the specular component.
◆ nogi
The light source does not affect GI.
◆ innercolor
true if the inner color is used.
◆ colfalloff
◆ negative
true if the light source subtracts intensity.
◆ contrast
◆ innerdist
The inner distance, only important if falloff is set.
◆ outerdist
The outer distance, only important if falloff is set.
◆ color
The light color, only important if innercolor is set.
◆ nearclip
◆ farclip
◆ nearfrom
◆ nearto
◆ farfrom
◆ farto
◆ lens_color
Color for the lens flares.
◆ lc
The caustics structure. Always valid, not nullptr.
◆ separatepass
true if render as separate multipass.
◆ trn
◆ multipass_index
Index into multipass light field (or NOTOK).
◆ lr
◆ userdata
Only to be used by plugin renderers.
◆ onlyz
◆ arearadius
◆ areashape
◆ areasamples
◆ areaaddgrain
◆ area_padr
◆ area_pcnt
◆ area_vadr
◆ area_vcnt
◆ area_link
◆ area_matrix
◆ shadowcaster
◆ area_falloffangle
◆ area_infiniteangle
◆ area_showinrender
Show area light in render.
◆ area_showinreflection
Bool area_showinreflection |
Show area light in render.
◆ area_backcolor
Area light back color.
- Since
- R19
◆ gradient
◆ gradient_multiplier
Float gradient_multiplier |
◆ lens_imul
◆ texadr
Texture address. Can be nullptr, always check.
- Note
- It is not possible to access textures directly. Use VolumeData::GetTexData() instead.
◆ texcnt