The class holds information about a pointlight (a Dirac's delta in the rendering equation) used by the PointLight Renderer. The fields are the following:
Position | a Point object holding the position of the point light in 3D space |
Color | a Color object being the color of the point light |
LinearRadius | a float number used to compute the solid angle subtended by the light at a given distance d (r/d)^2 |
More...
|
| PointLight (Point position, Color color, float linearRadius=0f) |
|
The class holds information about a pointlight (a Dirac's delta in the rendering equation) used by the PointLight Renderer. The fields are the following:
Position | a Point object holding the position of the point light in 3D space |
Color | a Color object being the color of the point light |
LinearRadius | a float number used to compute the solid angle subtended by the light at a given distance d (r/d)^2 |
The documentation for this struct was generated from the following file:
- /Users/fra/Documenti/Università/Magistrale/SNIF/PhotoGENius/PGENLib/Light.cs