Class SpatialMenu.SpatialMenuData | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class SpatialMenu.SpatialMenuData

    Inheritance
    Object
    SpatialMenu.SpatialMenuData
    Namespace: UnityEditor.Experimental.EditorVR
    Syntax
    public class SpatialMenuData

    Constructors

    SpatialMenuData(String, String, List<SpatialMenu.SpatialMenuElementContainer>)

    Declaration
    public SpatialMenuData(string menuName, string menuDescription, List<SpatialMenu.SpatialMenuElementContainer> menuElements)
    Parameters
    Type Name Description
    String menuName
    String menuDescription
    List<SpatialMenu.SpatialMenuElementContainer> menuElements

    Properties

    highlighted

    Bool denoting that this element is currently highlighted as either a section title or a sub-menu element

    Declaration
    public bool highlighted { get; set; }
    Property Value
    Type Description
    Boolean

    spatialMenuDescription

    Description of the menu whose contents will be added to the menu

    Declaration
    public string spatialMenuDescription { get; }
    Property Value
    Type Description
    String

    spatialMenuElements

    Collection of elements with which to populate the corresponding spatial UI table/list/view

    Declaration
    public List<SpatialMenu.SpatialMenuElementContainer> spatialMenuElements { get; }
    Property Value
    Type Description
    List<SpatialMenu.SpatialMenuElementContainer>

    spatialMenuName

    Name of the menu whose contents will be added to the menu

    Declaration
    public string spatialMenuName { get; }
    Property Value
    Type Description
    String
    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