docs.unity.cn
    Show / Hide Table of Contents

    Enum HDLightType

    This enum has been deprecated, and light types that existed only in HDRP have been moved into the UnityEngine.LightType instead. So you should now directly set the type property on the UnityEngine.Light monobehaviour.

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Obsolete("This enum has been deprecated. Use the UnityEngine.LightType enum instead.", false)]
    public enum HDLightType

    Fields

    Name Description Value
    Spot

    Spot Light. Complete this type by setting the SpotLightShape too.


    0
    Directional

    Directional Light.


    1
    Point

    Point Light.


    2
    Area

    Area Light. Complete this type by setting the AreaLightShape too.


    3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 24 July 2023