Struct ShadowData
Container struct for various data used for shadows in URP.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
public struct ShadowData
필드
| 이름 | 설명 |
|---|---|
| additionalLightsShadowmapHeight | The height of the additional light shadow map. |
| additionalLightsShadowmapWidth | The width of the additional light shadow map. |
| bias | A list of shadow bias. |
| mainLightShadowCascadeBorder | Main light last cascade shadow fade border. Value represents the width of shadow fade that ranges from 0 to 1. Where value 0 is used for no shadow fade. |
| mainLightShadowCascadesCount | The number of shadow cascades. |
| mainLightShadowCascadesSplit | The split between cascades. |
| mainLightShadowmapHeight | The height of the main light shadow map. |
| mainLightShadowmapWidth | The width of the main light shadow map. |
| resolution | A list of resolution for the shadow maps. |
| shadowmapDepthBufferBits | The number of bits used. |
| supportsAdditionalLightShadows | True if additional lights shadows are enabled. |
| supportsMainLightShadows | True if main light shadows are enabled. |
| supportsSoftShadows | True if soft shadows are enabled. |