docs.unity.cn
    Show / Hide Table of Contents

    Enum SpotLightShape

    Shape of a spot light.

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public enum SpotLightShape

    Fields

    Name Description Value
    Cone

    Cone shape. The default shape of the spot light.

    0
    Pyramid

    Pyramid shape.

    1
    Box

    Box shape. Similar to a directional light but with bounds.

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021