A sphere light is like a point light, except that it represents a sphere with a radius, rather than being an infinitely thin point in space.
New in version 1.10.0.
explicit SphereLight(std::string const &name)¶
PN_stdfloat get_radius(void) const¶
Returns the radius of the sphere.
void set_radius(PN_stdfloat radius)¶
Sets the radius of the sphere.
- explicit SphereLight(std::string const &name)¶