RPPointLight
from panda3d._rplight import RPPointLight
- class RPPointLight
- Bases: - RPLight- This represents a point light, a light which has a position and radius. Checkout the RenderPipeline documentation for more information about this type of light. - Inheritance diagram - __init__(*args, **kwargs)
 - getInnerRadius()
- C++ Interface: get_inner_radius(RPPointLight self) - /**
- @brief Returns the inner radius of the light 
- @details This returns the inner radius of the light, previously set with 
- RPPointLight::get_inner_radius. 
- @return [description] 
 - */ 
 
 - getRadius()
- C++ Interface: get_radius(RPPointLight self) - /**
- @brief Returns the lights radius 
- @details This returns the lights radius previously set with 
- RPPointLight::set_radius 
- @return Light radius in world space 
 - */ 
 
 - get_inner_radius()
- C++ Interface: get_inner_radius(RPPointLight self) - /**
- @brief Returns the inner radius of the light 
- @details This returns the inner radius of the light, previously set with 
- RPPointLight::get_inner_radius. 
- @return [description] 
 - */ 
 
 - get_radius()
- C++ Interface: get_radius(RPPointLight self) - /**
- @brief Returns the lights radius 
- @details This returns the lights radius previously set with 
- RPPointLight::set_radius 
- @return Light radius in world space 
 - */ 
 
 - inner_radius
 - radius
 - setInnerRadius()
- C++ Interface: set_inner_radius(const RPPointLight self, float inner_radius) - /**
- @brief Sets the inner radius of the light 
- @details This sets the inner radius of the light. Anything greater than 
- zero causes the light to get an area light. This has influence on the 
- specular highlights of the light aswell as the shadows. 
- The inner radius controls the size of the lights sphere size in world 
- space units. A radius of 0 means the light has no inner radius, and the 
- light will be have like an infinite small point light source. 
- A radius greater than zero will cause the light to behave like it would be 
- an emissive sphere with the given inner radius emitting light. This is 
- more physically correct. 
- @param inner_radius Inner-radius in world space 
 - */ 
 
 - setRadius()
- C++ Interface: set_radius(const RPPointLight self, float radius) - /**
- @brief Sets the radius of the light 
- @details This sets the radius of the light. It controls the lights 
- influence. After a distance greater than this radius, the light influence 
- is zero. 
- @param radius Light radius in world space 
 - */ 
 
 - set_inner_radius()
- C++ Interface: set_inner_radius(const RPPointLight self, float inner_radius) - /**
- @brief Sets the inner radius of the light 
- @details This sets the inner radius of the light. Anything greater than 
- zero causes the light to get an area light. This has influence on the 
- specular highlights of the light aswell as the shadows. 
- The inner radius controls the size of the lights sphere size in world 
- space units. A radius of 0 means the light has no inner radius, and the 
- light will be have like an infinite small point light source. 
- A radius greater than zero will cause the light to behave like it would be 
- an emissive sphere with the given inner radius emitting light. This is 
- more physically correct. 
- @param inner_radius Inner-radius in world space 
 - */ 
 
 - set_radius()
- C++ Interface: set_radius(const RPPointLight self, float radius) - /**
- @brief Sets the radius of the light 
- @details This sets the radius of the light. It controls the lights 
- influence. After a distance greater than this radius, the light influence 
- is zero. 
- @param radius Light radius in world space 
 - */ 
 
 
