Class LookDev | Core RP Library | 6.9.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class LookDev

    Main entry point for scripting LookDev

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

    Properties

    currentContext

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

    currentDisplayer

    Declaration
    public static IViewDisplayer currentDisplayer { get; }
    Property Value
    Type Description
    IViewDisplayer

    currentEnvironmentLibrary

    Declaration
    public static EnvironmentLibrary currentEnvironmentLibrary { get; }
    Property Value
    Type Description
    EnvironmentLibrary

    open

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

    supported

    Does LookDev is supported with the current render pipeline?

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

    Methods

    LoadConfig(String)

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

    Open()

    Declaration
    public static void Open()

    ResetConfig()

    Declaration
    public static void ResetConfig()

    SaveConfig(String)

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

    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