Interface IEditingContext | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    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. EditorVR).

    Namespace: UnityEditor.Experimental.EditorVR
    Syntax
    public interface IEditingContext

    Properties

    copyMainCameraImageEffectsToHMD

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

    Declaration
    bool copyMainCameraImageEffectsToHMD { get; }
    Property Value
    Type Description
    Boolean

    copyMainCameraImageEffectsToPresentationCamera

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

    Declaration
    bool copyMainCameraImageEffectsToPresentationCamera { get; }
    Property Value
    Type Description
    Boolean

    copyMainCameraSettings

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

    Declaration
    bool copyMainCameraSettings { get; }
    Property Value
    Type Description
    Boolean

    instanceExists

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

    Declaration
    bool instanceExists { get; }
    Property Value
    Type Description
    Boolean

    name

    Name for this specific instance of an editing context

    Declaration
    string name { get; }
    Property Value
    Type Description
    String

    Methods

    Dispose()

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

    Declaration
    void Dispose()

    Setup()

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

    Declaration
    void Setup()
    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