17INLINE RectangleLight::CData::
19 _max_distance(make_inf((PN_stdfloat)0))
26INLINE RectangleLight::CData::
27CData(
const RectangleLight::CData ©) :
28 _max_distance(copy._max_distance)
47 CDReader cdata(_cycler);
48 return cdata->_max_distance;
57 CDWriter cdata(_cycler);
58 cdata->_max_distance = max_distance;
get_color
Returns the basic color of the light.
set_max_distance
Sets the radius of the light's sphere of influence.
get_max_distance
Returns the maximum distance at which the light has any effect, as previously specified by set_max_di...
const LColor & get_specular_color() const final
Returns the color of specular highlights generated by the light.