docs.unity.cn
    Show / Hide Table of Contents

    Enum HDLightTypeAndShape

    Type of an HDRP Light including shape

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    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

    Extension Methods

    HDLightTypeExtension.IsSpot()
    HDLightTypeExtension.IsArea()
    HDLightTypeExtension.SupportsRuntimeOnly()
    HDLightTypeExtension.SupportsBakedOnly()
    HDLightTypeExtension.SupportsMixed()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 17 July 2023