docs.unity3d.com
    Show / Hide Table of Contents

    Class HDLightTypeExtension

    Extension class for the HDLightTypeAndShape type.

    Inheritance
    Object
    HDLightTypeExtension
    Namespace: UnityEngine.Rendering.HighDefinition
    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
    Boolean

    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
    Boolean

    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
    Boolean

    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
    Boolean

    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
    Boolean
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023