Class LookDev | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class LookDev

    Main entry point for scripting LookDev

    Inheritance
    System.Object
    LookDev
    Namespace: UnityEditor.Rendering.LookDev
    Syntax
    public static class LookDev

    Properties

    currentContext

    Get all the data used in LookDev currently (views, layout, debug... )

    Declaration
    public static Context currentContext { get; }
    Property Value
    Type Description
    Context

    open

    State of the LookDev window

    Declaration
    public static bool open { get; }
    Property Value
    Type Description
    System.Boolean

    supported

    Does LookDev is supported with the current render pipeline?

    Declaration
    public static bool supported { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    LoadConfig(String)

    Load a different set of datas

    Declaration
    public static void LoadConfig(string path = "Library/LookDevConfig.asset")
    Parameters
    Type Name Description
    System.String path

    Path where to load

    Open()

    open the LookDev window

    Declaration
    public static void Open()

    ResetConfig()

    Reset all LookDevs datas to the default configuration

    Declaration
    public static void ResetConfig()

    SaveConfig(String)

    Save the current set of datas

    Declaration
    public static void SaveConfig(string path = "Library/LookDevConfig.asset")
    Parameters
    Type Name Description
    System.String path

    [optional] Path to save. By default, saved in Library folder

    SaveContextChangeAndApply(ViewIndex)

    Update the rendered element with element in the context

    Declaration
    public static void SaveContextChangeAndApply(ViewIndex index)
    Parameters
    Type Name Description
    ViewIndex index

    The index of the stage to update

    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