Struct LightData
Struct that holds settings related to lights.
Inherited Members
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public struct LightData
Fields
Name | Description |
---|---|
additional |
The number of additional lights visible by the camera. |
main |
Holds the main light index from the |
max |
Maximum amount of lights that can be shaded per-object. This value only affects forward rendering. |
reflection |
True if blending is enabled for reflection probes. |
reflection |
True if box projection is enabled for reflection probes. |
shade |
True if additional lights should be shaded in vertex shader, otherwise additional lights will be shaded per pixel. |
supports |
True if additional lights enabled. |
supports |
True if light layers are enabled. |
supports |
True if mixed lighting is supported. |
visible |
List of visible lights returned by culling. |