17 INLINE RectangleLight::CData::
19 _max_distance(make_inf((PN_stdfloat)0))
26 INLINE RectangleLight::CData::
27 CData(
const RectangleLight::CData ©) :
28 _max_distance(copy._max_distance)
45 INLINE PN_stdfloat RectangleLight::
46 get_max_distance()
const {
47 CDReader cdata(_cycler);
48 return cdata->_max_distance;
57 CDWriter cdata(_cycler);
58 cdata->_max_distance = max_distance;
set_max_distance
Sets the radius of the light's sphere of influence.
const LColor & get_specular_color() const final
Returns the color of specular highlights generated by the light.
get_color
Returns the basic color of the light.