docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SpotLightShape

    This enum has been deprecated, and the spot light shapes now exist as separate members in the UnityEngine.LightType enum. The Cone, Pyramid, and Box types are represented by LightType.Spot, LightType.Pyramid, and LightType.Box respectively.

    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Obsolete("This enum has been deprecated. Use the UnityEngine.LightType enum instead.", false)]
    public enum SpotLightShape

    Fields

    Name Description
    Box

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

    Cone

    Cone shape. The default shape of the spot light.

    Pyramid

    Pyramid shape.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)