docs.unity.cn
    Show / Hide Table of Contents

    Enum AreaLightShape

    This enum has been deprecated, and the area light shapes now exist as separate members in the UnityEngine.LightType enum. The Rectangle, Tube, and Disc types are represented by LightType.Rectangle, LightType.Tube, and LightType.Disc respectively.

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

    Fields

    Name Description Value
    Rectangle

    Rectangle shape.


    0
    Tube

    Tube shape. Runtime only


    1
    Disc

    Disc shape. Baking only.


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