docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IToolsMenu

    Gives decorated class Tools Menu functionality

    Inherited Members
    IUsesMenuOrigins.menuOrigin
    IUsesMenuOrigins.alternateMenuOrigin
    ICustomActionMap.actionMap
    ICustomActionMap.ignoreActionMapInputLocking
    IProcessInput.ProcessInput(ActionMapInput, ConsumeControlDelegate)
    IUsesNode.node
    IFunctionalitySubscriber<IProvidesSelectTool>.provider
    Namespace: Unity.EditorXR
    Assembly: solution.dll
    Syntax
    public interface IToolsMenu : IUsesMenuOrigins, ICustomActionMap, IProcessInput, IUsesNode, IUsesSelectTool, IFunctionalitySubscriber<IProvidesSelectTool>, IFunctionalitySubscriber

    Properties

    Name Description
    PreviewToolsMenuButton

    The ToolsMenuButton that the menu uses to display tool previews

    alternateMenuVisible

    Bool denoting that the alternate menu (radial menu, etc) is currently visible Allows the ToolsMenu to adapt visibility state changes that occur in the AlternateMenu

    deleteToolsMenuButton

    Delete the tool button with corresponding type of the first parameter. Then, select the tool button which corresponds to the type of the second parameter.

    mainMenuActivatorInteractable

    Set the interactable state on the main menu activator button

    rayOrigin

    This menu's RayOrigin

    setButtonForType

    Function that assigns and sets up a tool button for a given tool type This method isn't hooked up in EVR, it should reside in the implementing class

    Extension Methods

    ToolsMenuMethods.MainMenuActivatorSelected(IToolsMenu, Transform)
    ToolsMenuMethods.SelectTool(IToolsMenu, Transform, Type)
    UsesSelectToolMethods.IsToolActive(IUsesSelectTool, Transform, Type)
    UsesSelectToolMethods.SelectTool(IUsesSelectTool, Transform, Type, bool, bool)
    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)