{}!Google Tag Manager end}} Class UniversalAdditionalLightData | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    Class UniversalAdditionalLightData

    Class containing various additional light data used by URP.

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    UniversalAdditionalLightData
    Inherited Members
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.destroyCancellationToken
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    Component.GetComponentInParent(Type, Boolean)
    Component.GetComponentInParent(Type)
    UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    [DisallowMultipleComponent]
    [RequireComponent(typeof(Light))]
    public class UniversalAdditionalLightData : MonoBehaviour, ISerializationCallbackReceiver, IAdditionalData

    Fields

    AdditionalLightsShadowDefaultCustomResolution

    The default custom shadow resolution for additional lights.

    Declaration
    public static readonly int AdditionalLightsShadowDefaultCustomResolution
    Field Value
    Type Description
    Int32

    AdditionalLightsShadowDefaultResolutionTier

    The default shadow resolution tier for additional lights.

    Declaration
    public static readonly int AdditionalLightsShadowDefaultResolutionTier
    Field Value
    Type Description
    Int32

    AdditionalLightsShadowMinimumResolution

    The minimum shadow resolution for additional lights.

    Declaration
    public static readonly int AdditionalLightsShadowMinimumResolution
    Field Value
    Type Description
    Int32

    AdditionalLightsShadowResolutionTierCustom

    Value used to indicate custom shadow resolution tier for additional lights.

    Declaration
    public static readonly int AdditionalLightsShadowResolutionTierCustom
    Field Value
    Type Description
    Int32

    AdditionalLightsShadowResolutionTierHigh

    Value used to indicate high shadow resolution tier for additional lights.

    Declaration
    public static readonly int AdditionalLightsShadowResolutionTierHigh
    Field Value
    Type Description
    Int32

    AdditionalLightsShadowResolutionTierLow

    Value used to indicate low shadow resolution tier for additional lights.

    Declaration
    public static readonly int AdditionalLightsShadowResolutionTierLow
    Field Value
    Type Description
    Int32

    AdditionalLightsShadowResolutionTierMedium

    Value used to indicate medium shadow resolution tier for additional lights.

    Declaration
    public static readonly int AdditionalLightsShadowResolutionTierMedium
    Field Value
    Type Description
    Int32

    Properties

    additionalLightsShadowResolutionTier

    Returns the selected shadow resolution tier.

    Declaration
    public int additionalLightsShadowResolutionTier { get; }
    Property Value
    Type Description
    Int32

    customShadowLayers

    Indicates whether shadows need custom layers. If not, then it uses the same settings as lightLayerMask.

    Declaration
    public bool customShadowLayers { get; set; }
    Property Value
    Type Description
    Boolean

    lightCookieOffset

    Controls the offset of the cookie mask currently assigned to the light.

    Declaration
    [Tooltip("Controls the offset of the cookie mask currently assigned to the light.")]
    public Vector2 lightCookieOffset { get; set; }
    Property Value
    Type Description
    Vector2

    lightCookieSize

    Controls the size of the cookie mask currently assigned to the light.

    Declaration
    [Tooltip("Controls the size of the cookie mask currently assigned to the light.")]
    public Vector2 lightCookieSize { get; set; }
    Property Value
    Type Description
    Vector2

    renderingLayers

    Specifies which rendering layers this light will affect.

    Declaration
    public uint renderingLayers { get; set; }
    Property Value
    Type Description
    UInt32

    shadowRenderingLayers

    Specifies which rendering layers this light shadows will affect.

    Declaration
    public uint shadowRenderingLayers { get; set; }
    Property Value
    Type Description
    UInt32

    softShadowQuality

    Light soft shadow filtering quality.

    Declaration
    [Tooltip("Controls the filtering quality of soft shadows. Higher quality has lower performance.")]
    public SoftShadowQuality softShadowQuality { get; set; }
    Property Value
    Type Description
    SoftShadowQuality

    usePipelineSettings

    Controls if light Shadow Bias parameters use pipeline settings or not.

    Declaration
    public bool usePipelineSettings { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()
    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)