Class HDAdditionalLightDataEditorExtension | High Definition RP | 7.1.8
docs.unity3d.com
    Show / Hide Table of Contents

    Class HDAdditionalLightDataEditorExtension

    Extension class that contains all the Editor Only functions available for the HDAdditionalLightData component

    Inheritance
    Object
    HDAdditionalLightDataEditorExtension
    Namespace: UnityEditor.Rendering.HighDefinition
    Syntax
    public static class HDAdditionalLightDataEditorExtension

    Methods

    GetDisplayAreaLightEmissiveMesh(HDAdditionalLightData)

    Get the display emissive mesh value

    Declaration
    public static bool GetDisplayAreaLightEmissiveMesh(this HDAdditionalLightData hdLight)
    Parameters
    Type Name Description
    HDAdditionalLightData hdLight
    Returns
    Type Description
    Boolean

    SetDisplayAreaLightEmissiveMesh(HDAdditionalLightData, Boolean)

    Displays or hide an emissive mesh for the area light

    Declaration
    public static void SetDisplayAreaLightEmissiveMesh(this HDAdditionalLightData hdLight, bool display)
    Parameters
    Type Name Description
    HDAdditionalLightData hdLight
    Boolean display

    SetLightmapBakeType(HDAdditionalLightData, LightmapBakeType)

    Set Lightmap Bake Type.

    Declaration
    public static LightmapBakeType SetLightmapBakeType(this HDAdditionalLightData hdLight, LightmapBakeType lightmapBakeType)
    Parameters
    Type Name Description
    HDAdditionalLightData hdLight
    LightmapBakeType lightmapBakeType
    Returns
    Type Description
    LightmapBakeType
    Back to top
    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