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

    Class SpatialMenu

    The SpatialMenu controller A SpatialMenu controller is spawned in EditorVR.Tools SpawnDefaultTools() function, for each proxy/input-device There is a single static SpatialUI(view) that all SpatialMenu controllers direct

    Inheritance
    Object
    SpatialUIController
    SpatialMenu
    Inherited Members
    SpatialUIController.ConsumeControls(SpatialMenuInput, ConsumeControlDelegate, Boolean)
    Namespace: UnityEditor.Experimental.EditorVR
    Syntax
    public sealed class SpatialMenu : SpatialUIController, INodeToRay, IInstantiateUI, IUsesNode, IUsesRayOrigin, IUsesSelectTool, IFunctionalitySubscriber<IProvidesSelectTool>, IUsesConnectInterfaces, IFunctionalitySubscriber<IProvidesConnectInterfaces>, IUsesControlHaptics, IFunctionalitySubscriber<IProvidesControlHaptics>, IUsesControlInputIntersection, IFunctionalitySubscriber<IProvidesControlInputIntersection>, IUsesSetManipulatorsVisible, IFunctionalitySubscriber<IProvidesSetManipulatorsVisible>, IUsesRayVisibilitySettings, IFunctionalitySubscriber<IProvidesRayVisibilitySettings>, ICustomActionMap, IProcessInput, IUsesViewerScale, IFunctionalitySubscriber<IProvidesViewerScale>, IScriptReference

    Properties

    actionMap

    Declaration
    public ActionMap actionMap { get; }
    Property Value
    Type Description
    ActionMap
    Implements
    ICustomActionMap.actionMap

    ignoreActionMapInputLocking

    Declaration
    public bool ignoreActionMapInputLocking { get; }
    Property Value
    Type Description
    Boolean
    Implements
    ICustomActionMap.ignoreActionMapInputLocking

    node

    Declaration
    public Node node { set; }
    Property Value
    Type Description
    Node

    rayOrigin

    Declaration
    public Transform rayOrigin { set; }
    Property Value
    Type Description
    Transform

    Methods

    AddProvider(ISpatialMenuProvider)

    Declaration
    public static void AddProvider(ISpatialMenuProvider provider)
    Parameters
    Type Name Description
    ISpatialMenuProvider provider

    ProcessInput(ActionMapInput, ConsumeControlDelegate)

    Declaration
    public void ProcessInput(ActionMapInput input, ConsumeControlDelegate consumeControl)
    Parameters
    Type Name Description
    ActionMapInput input
    ConsumeControlDelegate consumeControl
    Implements
    IProcessInput.ProcessInput(ActionMapInput, ConsumeControlDelegate)

    Setup()

    Declaration
    public void Setup()

    Extension Methods

    INodeToRayMethods.RequestRayOriginFromNode(INodeToRay, Node)
    UsesConnectInterfacesMethods.ConnectInterfaces(IUsesConnectInterfaces, Object, Object)
    UsesConnectInterfacesMethods.DisconnectInterfaces(IUsesConnectInterfaces, Object, Object)
    UsesControlHapticsMethods.Pulse(IUsesControlHaptics, Node, HapticPulse, Single, Single)
    UsesControlHapticsMethods.StopPulses(IUsesControlHaptics, Node)
    UsesControlInputIntersectionMethods.SetRayOriginEnabled(IUsesControlInputIntersection, Transform, Boolean)
    UsesRayVisibilitySettingsMethods.AddRayVisibilitySettings(IUsesRayVisibilitySettings, Transform, Object, Boolean, Boolean, Int32)
    UsesRayVisibilitySettingsMethods.RemoveRayVisibilitySettings(IUsesRayVisibilitySettings, Transform, Object)
    UsesSelectToolMethods.SelectTool(IUsesSelectTool, Transform, Type, Boolean, Boolean)
    UsesSelectToolMethods.IsToolActive(IUsesSelectTool, Transform, Type)
    UsesSetManipulatorsVisibleMethods.SetManipulatorsVisible(IUsesSetManipulatorsVisible, IUsesSetManipulatorsVisible, Boolean)
    UsesViewerScaleMethods.GetViewerScale(IUsesViewerScale)
    UsesViewerScaleMethods.SetViewerScale(IUsesViewerScale, Single)
    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