Class UniversalAdditionalLightData
Class containing various additional light data used by URP.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
[DisallowMultipleComponent]
[RequireComponent(typeof(Light))]
public class UniversalAdditionalLightData : MonoBehaviour, ISerializationCallbackReceiver, IAdditionalData
필드
| 이름 | 설명 |
|---|---|
| AdditionalLightsShadowDefaultCustomResolution | The default custom shadow resolution for additional lights. |
| AdditionalLightsShadowDefaultResolutionTier | The default shadow resolution tier for additional lights. |
| AdditionalLightsShadowMinimumResolution | The minimum shadow resolution for additional lights. |
| AdditionalLightsShadowResolutionTierCustom | Value used to indicate custom shadow resolution tier for additional lights. |
| AdditionalLightsShadowResolutionTierHigh | Value used to indicate high shadow resolution tier for additional lights. |
| AdditionalLightsShadowResolutionTierLow | Value used to indicate low shadow resolution tier for additional lights. |
| AdditionalLightsShadowResolutionTierMedium | Value used to indicate medium shadow resolution tier for additional lights. |
프로퍼티
| 이름 | 설명 |
|---|---|
| additionalLightsShadowResolutionTier | Returns the selected shadow resolution tier. |
| customShadowLayers | Indicates whether shadows need custom layers. If not, then it uses the same settings as lightLayerMask. |
| lightCookieOffset | Controls the offset of the cookie mask currently assigned to the light. |
| lightCookieSize | Controls the size of the cookie mask currently assigned to the light. |
| renderingLayers | Specifies which rendering layers this light will affect. |
| shadowRenderingLayers | Specifies which rendering layers this light shadows will affect. |
| softShadowQuality | Light soft shadow filtering quality. |
| usePipelineSettings | Controls if light Shadow Bias parameters use pipeline settings or not. |
메서드
| 이름 | 설명 |
|---|---|
| OnAfterDeserialize() | |
| OnBeforeSerialize() |