Struct PunctualLightData
The point/spot light data passed to the deferred shaders.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
public struct PunctualLightData
필드
이름 | 설명 |
---|---|
attenuation | The attenuation of the light. |
color | The color of the light. |
flags | The flags used. |
layerMask | The layer mask used. |
occlusionProbeInfo | The occlusion probe info. |
radius | The radius of the light. |
spotDirection | The direction for spot lights. |
wsPos | The world position. |