mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3
  • Features and Architecture
  • API Documentation

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

  • API Documentation
Search Results for

    Show / Hide Table of Contents

    Class Dock

    This control enables moving objects in and out of predetermined positions, to create palettes, shelves and navigation bars.

    Inheritance
    Object
    Dock
    Namespace: Microsoft.MixedReality.Toolkit.Experimental.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class Dock : MonoBehaviour

    Properties

    DockPositions

    A read-only list of possible positions in this dock.

    Declaration
    public ReadOnlyCollection<DockPosition> DockPositions { get; }
    Property Value
    Type Description
    ReadOnlyCollection<DockPosition>

    Methods

    TryMoveToFreeSpace(DockPosition)

    Moves elements near the desired position to make space for a new element, if possible.

    Declaration
    public bool TryMoveToFreeSpace(DockPosition position)
    Parameters
    Type Name Description
    DockPosition position

    The desired position where an object wants to be docked.

    Returns
    Type Description
    Boolean

    Returns true if the desired position is now available, false otherwise.

    See Also

    Dockable
    DockPosition
    In This Article
    • Properties
      • DockPositions
    • Methods
      • TryMoveToFreeSpace(DockPosition)
    • See Also
    Back to top Generated by DocFX