Struct ShaderInput.LightData
Container struct for various data used for lights in URP.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
[GenerateHLSL(PackingRules.Exact, false, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.universal@15.0\\Packages\\com.unity.render-pipelines.universal\\ShaderLibrary\\ShaderTypes.cs")]
public struct ShaderInput.LightData
필드
이름 | 설명 |
---|---|
attenuation | The attenuation of the light. |
color | The color of the light. |
layerMask | The layer mask used. |
occlusionProbeChannels | The channel for probe occlusion. |
position | The position of the light. |
spotDirection | The direction of the light (Spot light). |