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

    Class Context

    Inheritance
    Object
    Context
    Namespace: UnityEditor.Rendering.Experimental.LookDev
    Syntax
    [Serializable]
    public class Context : ScriptableObject

    Properties

    environmentLibrary

    The currently used Environment

    Declaration
    public EnvironmentLibrary environmentLibrary { get; }
    Property Value
    Type Description
    EnvironmentLibrary

    layout

    The currently used layout

    Declaration
    public LayoutContext layout { get; }
    Property Value
    Type Description
    LayoutContext

    Methods

    GetViewContent(ViewIndex)

    Declaration
    public ViewContext GetViewContent(ViewIndex index)
    Parameters
    Type Name Description
    ViewIndex index
    Returns
    Type Description
    ViewContext

    SynchronizeCameraStates(ViewIndex)

    Declaration
    public void SynchronizeCameraStates(ViewIndex baseCameraState)
    Parameters
    Type Name Description
    ViewIndex baseCameraState

    UpdateEnvironmentLibrary(EnvironmentLibrary)

    Update the environment used.

    Declaration
    public void UpdateEnvironmentLibrary(EnvironmentLibrary library)
    Parameters
    Type Name Description
    EnvironmentLibrary library
    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