#include <c4d_raytrace.h>
构造函数 & 析构函数文档编制
◆
RayLight()
Member Data Documentation
◆
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.
The light matrix.
◆
m_inverse
The inverse light matrix.
◆
type
The type of light source:
RaytraceLightTypes
.
◆
stype
The shadow type:
RaytraceShadowTypes
.
◆
vtype
The type of visible light:
RaytraceVisibleLight
.
◆
ntype
The type of noise for illumination/visible light:
RaytraceLightNoise
.
◆
falloff
The type of light falloff:
RaytraceLightFalloff
.
◆
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
Edge color falloff.
◆
negative
true
if the light source subtracts intensity.
◆
contrast
The light 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
Near clipping.
◆
farclip
Far clipping.
◆
nearfrom
Near clipping start.
◆
nearto
Near clipping end.
◆
farfrom
Far clipping start.
◆
farto
Far clipping end.
◆
lens_color
Color for the lens flares.
◆
lc
The caustics structure. Always valid, not
nullptr
.
◆
separatepass
true
if render as separate multipass.
◆
trn
Exp (-contrast).
◆
multipass_index
Index into multipass light field (or
NOTOK
).
◆
lr
Light restriction.
◆
userdata
Only to be used by plugin renderers.
◆
onlyz
Only Z.
◆
arearadius
Area radius.
◆
areashape
Area shape. (See
olight.h
,
LIGHT_AREADETAILS_SHAPE
.)
◆
areasamples
Number of area samples.
◆
areaaddgrain
true
to add area grain.
◆
area_padr
Area points.
◆
area_pcnt
Number of area points.
◆
area_vadr
Area polygons.
◆
area_vcnt
Number of area polygons.
◆
area_link
Area link.
◆
area_matrix
Area matrix.
◆
shadowcaster
Shadow caster.
◆
area_falloffangle
Area falloff angle.
◆
area_infiniteangle
Infinite area angle.
◆
area_showinrender
Show area light in render.
◆
area_showinreflection
Bool
area_showinreflection
|
Show area light in render.
◆
area_backcolor
Area light back color.
-
由于
-
R19