Training
Module
Getting started with 3D object interaction - Training
This course will provide steps and procedures to follow on how to manipulate and interact with 3D objects.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Bounding is the standard interface for object manipulation in Mixed Reality. This feature provides the user with a visual cue that the object is currently adjustable. On HoloLens 2, the bounding box works with direct hand manipulation and responds to the user's finger's proximity. It shows visual feedback to help the user perceive the distance from the object.
The corners of the bounding box tell the user that the object can scale. The handles follow a widely understood pattern for adjusting scale. This visual cue shows users the total area of the object – even if it’s not visible outside of an adjustment mode. Without this feature, an object snapped to another object or surface may appear to behave like there was space around it that shouldn’t be there.
Video loop: Scaling an object via bounding box
The vertical rectangular affordances on the edges of the bounding box are rotation indicators. This gives the user more fine adjustment over their placed holograms. Not only can they adjust and scale, but now rotate as well.
Video loop: Rotating an object via bounding box
On HoloLens 2, there's an extra visual cue, which can help the user's perception of depth. A ring near their fingertip shows up and scales down as the fingertip gets closer to the object. The ring eventually converges into a dot when the pressed state is reached. This visual affordance helps the user understand how far they are from the object.
Video loop: Example of visual feedback based on proximity to a bounding box
For Unity app development, see Bounding box in the Mixed Reality Toolkit-Unity.
The App bar is an object-level menu, which contains a series of buttons displayed on the bottom edge of a hologram's bounds. This pattern is commonly used to let users remove and adjust holograms. The App bar was designed primarily as a way to manage placed objects in a user's environment. Coupled with the bounding box, a user has full control over where and how objects are oriented in mixed reality.
Since this pattern is used with objects that are world locked, as a user moves around the object the App bar will always display on the objects' side closest to the user. While not technically billboarding, this feature effectively achieves the same result. Preventing a user's position to occlude or block functionality that would otherwise be available from a different location in their environment.
Video loop: Walking around a hologram, the App bar follows
MRTK provides scripts and prefabs for the Bounding box and App bar. You can add a Bounding box by assigning the BoundingBox.cs script onto any object.
Training
Module
Getting started with 3D object interaction - Training
This course will provide steps and procedures to follow on how to manipulate and interact with 3D objects.
Documentation
Learn how to use near menus, which are a collection of buttons on a panel that follow you with tag-along behavior in a mixed reality environment.
Lean about slates, a thin window style control for displaying 2D content using the Mixed Reality Toolkit.
Learn how to trigger an immediate action with buttons, which is one of mixed reality's foundational components.