Interface IProxy | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProxy

    Declares a class as being a proxy for an input device

    Namespace: UnityEditor.Experimental.EditorVR
    Syntax
    public interface IProxy

    Properties

    active

    Whether the proxy is present and active

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

    alternateMenuOrigins

    Origins for alternate menus Key = ray origin Value = alternate menu transform

    Declaration
    Dictionary<Transform, Transform> alternateMenuOrigins { get; set; }
    Property Value
    Type Description
    Dictionary<Transform, Transform>

    fieldGrabOrigins

    Origins for grabbed list fields Key = ray origin Value = field grab transform

    Declaration
    Dictionary<Transform, Transform> fieldGrabOrigins { get; set; }
    Property Value
    Type Description
    Dictionary<Transform, Transform>

    hidden

    Whether the proxy is not visible

    Declaration
    bool hidden { set; }
    Property Value
    Type Description
    Boolean

    menuOrigins

    Origins for where menus show (e.g. main menu) Key = ray origin Value = preview transform

    Declaration
    Dictionary<Transform, Transform> menuOrigins { get; set; }
    Property Value
    Type Description
    Dictionary<Transform, Transform>

    previewOrigins

    Origins for asset previews Key = ray origin Value = preview transform

    Declaration
    Dictionary<Transform, Transform> previewOrigins { get; set; }
    Property Value
    Type Description
    Dictionary<Transform, Transform>

    rayOrigins

    The ray origin for each proxy node

    Declaration
    Dictionary<Node, Transform> rayOrigins { get; }
    Property Value
    Type Description
    Dictionary<Node, Transform>

    trackedObjectInput

    Provided to a proxy for device input (e.g. position / rotation)

    Declaration
    TrackedObject trackedObjectInput { set; }
    Property Value
    Type Description
    TrackedObject

    Events

    activeChanged

    Event called when the active property changes

    Declaration
    event Action activeChanged
    Event Type
    Type Description
    Action
    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