docs.unity.cn
    Show / Hide Table of Contents

    Enum HDLightTypeAndShape

    This enum has been deprecated, and the light type and shape combos now exist as separate members in the UnityEngine.LightType enum.

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

    Fields

    Name Description Value
    Point

    Point Light.


    0
    BoxSpot

    Spot Light with box shape.


    1
    PyramidSpot

    Spot Light with pyramid shape.


    2
    ConeSpot

    Spot Light with cone shape.


    3
    Directional

    Directional Light.


    4
    RectangleArea

    Rectangle Light.


    5
    TubeArea

    Tube Light, runtime Only.


    6
    DiscArea

    Disc light, baking Only


    7
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023