Struct LightData
Struct that holds settings related to lights.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
public struct LightData
필드
| 이름 | 설명 |
|---|---|
| additionalLightsCount | The number of additional lights visible by the camera. |
| mainLightIndex | Holds the main light index from the |
| maxPerObjectAdditionalLightsCount | Maximum amount of lights that can be shaded per-object. This value only affects forward rendering. |
| reflectionProbeBlending | True if blending is enabled for reflection probes. |
| reflectionProbeBoxProjection | True if box projection is enabled for reflection probes. |
| shadeAdditionalLightsPerVertex | True if additional lights should be shaded in vertex shader, otherwise additional lights will be shaded per pixel. |
| supportsAdditionalLights | True if additional lights enabled. |
| supportsLightLayers | True if light layers are enabled. |
| supportsMixedLighting | True if mixed lighting is supported. |
| visibleLights | List of visible lights returned by culling. |