docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HDLightTypeExtension

    Extension class for the HDLightTypeAndShape type.

    Inheritance
    object
    HDLightTypeExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public static class HDLightTypeExtension

    Methods

    IsArea(HDLightTypeAndShape)

    Returns true if the hd light type is an area light

    Declaration
    public static bool IsArea(this HDLightTypeAndShape type)
    Parameters
    Type Name Description
    HDLightTypeAndShape type
    Returns
    Type Description
    bool

    IsSpot(HDLightTypeAndShape)

    Returns true if the hd light type is a spot light

    Declaration
    public static bool IsSpot(this HDLightTypeAndShape type)
    Parameters
    Type Name Description
    HDLightTypeAndShape type
    Returns
    Type Description
    bool

    SupportsBakedOnly(HDLightTypeAndShape)

    Returns true if the hd light type can be used for baking

    Declaration
    public static bool SupportsBakedOnly(this HDLightTypeAndShape type)
    Parameters
    Type Name Description
    HDLightTypeAndShape type
    Returns
    Type Description
    bool

    SupportsMixed(HDLightTypeAndShape)

    Returns true if the hd light type can be used in mixed mode

    Declaration
    public static bool SupportsMixed(this HDLightTypeAndShape type)
    Parameters
    Type Name Description
    HDLightTypeAndShape type
    Returns
    Type Description
    bool

    SupportsRuntimeOnly(HDLightTypeAndShape)

    Returns true if the hd light type can be used for runtime lighting

    Declaration
    public static bool SupportsRuntimeOnly(this HDLightTypeAndShape type)
    Parameters
    Type Name Description
    HDLightTypeAndShape type
    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 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)