docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IEditingContext

    Implement this interface to create an editing context. You can also specify your own custom settings within the context to be applied to the specified VR editor (e.g. EditorXR).

    Namespace: Unity.EditorXR
    Assembly: solution.dll
    Syntax
    public interface IEditingContext

    Properties

    Name Description
    copyMainCameraImageEffectsToHMD

    Bool denotes that the scene's enabled Main Camera image effects should be cloned on the EditorXR HMD camera

    copyMainCameraImageEffectsToPresentationCamera

    Bool denotes that the scene's enabled Main Camera image effects should be cloned on the EditorXR presentation camera

    copyMainCameraSettings

    Bool denotes that the scene Main Camera (component) values should be cloned on the EditorXR runtime camera

    instanceExists

    Bool denotes that the EditorXR instance exists, having already been created in Setup()

    name

    Name for this specific instance of an editing context

    Methods

    Name Description
    Dispose()

    Allow the context to dispose of any created objects when popped from the stack.

    Setup()

    Perform one-time setup for the context when pushed to the stack.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)