Holds data of a visible light.
After ScriptableRenderContext.Cull is done, CullingResults.visibleLights will contain an array of lights that are visible. The visible light structure contains packed
information for most commonly used Light variables, and a VisibleLight.light reference to the Light component itself.
Additional resources: CullingResults.visibleLights, Light.
finalColor | Light color multiplied by intensity. |
intersectsFarPlane | Light intersects far clipping plane. |
intersectsNearPlane | Light intersects near clipping plane. |
light | Accessor to Light component. |
lightType | Light type. |
localToWorldMatrix | Light transformation matrix. |
range | Light range. |
screenRect | Light's influence rectangle on screen. |
spotAngle | Spot light angle. |