Unity Holotoolkit



Controller and hand input

Setup and configuration

HoloToolkit – Editor Enhancements March 5, 2017 HoloToolkit – Simple Drag/Resize/Rotate March 5, 2017 HoloToolkit – Navigation and Manipulation Gestures March 5, 2017.

In Unity - in the top-hand menu - select the HoloToolkit-Sharing-240 menu. Select the Launch Sharing Service item in the drop-down. Check the Private Network. Contains all the contributions since HoloToolkit first launched on 30th March 2016. Release works with Unity 5.4 releases. This will allow developers to sync to a known point in time.

Unity
HTK 2017MRTK v2
TypeSpecific events for buttons, with input type info when relevant.Action / Gesture based input, passed along via events.
SetupPlace the InputManager in the scene.Enable the input system in the Configuration Profile and specify a concrete input system type.
ConfigurationConfigured in the Inspector, on each individual script in the scene.Configured via the Mixed Reality Input System Profile and its related profile, listed below.

Related profiles:

  • Mixed Reality Controller Mapping Profile
  • Mixed Reality Controller Visualization Profile
  • Mixed Reality Gestures Profile
  • Mixed Reality Input Actions Profile
  • Mixed Reality Input Action Rules Profile
  • Mixed Reality Pointer Profile

Gaze Provider settings are modified on the Main Camera object in the scene.

Platform support components (e.g., Windows Mixed Reality Device Manager) must be added to their corresponding service's data providers.

Interface and event mappings

Some events no longer have unique events and now contain a MixedRealityInputAction. These actions are specified in the Input Actions profile and mapped to specific controllers and platforms in the Controller Mapping profile. Events like OnInputDown should now check the MixedRealityInputAction type.

Related input systems:

HTK 2017MRTK v2Action Mapping
IControllerInputHandlerIMixedRealityInputHandler<Vector2>Mapped to the touchpad or thumbstick
IControllerTouchpadHandlerIMixedRealityInputHandlerMapped to the touchpad
IFocusableIMixedRealityFocusHandler
IGamePadHandlerIMixedRealitySourceStateHandler
IHoldHandlerIMixedRealityGestureHandlerMapped to hold in the Gestures Profile
IInputClickHandlerIMixedRealityPointerHandler
IInputHandlerIMixedRealityInputHandlerMapped to the controller’s buttons or hand tap
IManipulationHandlerIMixedRealityGestureHandler<Vector3>Mapped to manipulation in the Gestures Profile
INavigationHandlerIMixedRealityGestureHandler<Vector3>Mapped to navigation in the Gestures Profile
IPointerSpecificFocusableIMixedRealityFocusChangedHandler
ISelectHandlerIMixedRealityInputHandler<float>Mapped to trigger position
ISourcePositionHandlerIMixedRealityInputHandler<Vector3> or IMixedRealityInputHandler<MixedRealityPose>Mapped to pointer position or grip position
ISourceRotationHandlerIMixedRealityInputHandler<Quaternion> or IMixedRealityInputHandler<MixedRealityPose>Mapped to pointer position or grip position
ISourceStateHandlerIMixedRealitySourceStateHandler
IXboxControllerHandlerIMixedRealityInputHandler and IMixedRealityInputHandler<Vector2>Mapped to the various controller buttons and thumbsticks

Camera

HTK 2017MRTK v2
SetupDelete MainCamera, add MixedRealityCameraParent / MixedRealityCamera / HoloLensCamera prefab to scene or use Mixed Reality Toolkit > Configure > Apply Mixed Reality Scene Settings menu item.MainCamera parented under MixedRealityPlayspace via Mixed Reality Toolkit > Add to Scene and Configure..
ConfigurationCamera settings configuration performed on prefab instance.Camera settings configured in the Mixed Reality Camera Profile.

Speech

Keyword recognition

HTK 2017MRTK v2
SetupAdd a SpeechInputSource to your scene.Keyword service (e.g., Windows Speech Input Manager) must be added to the input system's data providers.
ConfigurationRecognized keywords are configured in the SpeechInputSource’s inspector.Keywords are configured in the Mixed Reality Speech Commands Profile.
Event handlersISpeechHandlerIMixedRealitySpeechHandler

Dictation

HTK 2017MRTK v2
SetupAdd a DictationInputManager to your scene.Dictation support requires service (e.g., Windows Dictation Input Manager) to be added to the Input System's data providers.
Event handlersIDictationHandlerIMixedRealityDictationHandlerIMixedRealitySpeechHandler

Spatial awareness / mapping

Mesh

HTK 2017MRTK v2
SetupAdd the SpatialMapping prefab to the scene.Enable the Spatial Awareness System in the Configuration Profile and add a spatial observer (e.g., Windows Mixed Reality Spatial Mesh Observer) to the Spatial Awareness System's data providers.
ConfigurationConfigure the scene instance in the inspector.Configure the settings on each spatial observer's profile.

Planes

HTK 2017MRTK v2
SetupUse the SurfaceMeshesToPlanes script.Not yet implemented.

Spatial understanding

HTK 2017MRTK v2
SetupAdd the SpatialUnderstanding prefab to the scene.Not yet implemented.
ConfigurationConfigure the scene instance in the inspector.Not yet implemented.

Boundary

Unity HolotoolkitUnity Holotoolkit
HTK 2017MRTK v2
SetupAdd the BoundaryManager script to the scene.Enable the Boundary System in the Configuration Profile.
ConfigurationConfigure the scene instance in the inspector.Configure the settings in the Boundary Visualization profile.

Sharing

HTK 2017MRTK v2
SetupSharing service: Add Sharing prefab to the scene. UNet: Use SharingWithUNET example.In-progress
ConfigurationConfigure the scene instances in the inspector.In-progress

UX

HTK 2017MRTK v2
ButtonInteractable ObjectsButton
InteractableInteractable ObjectsInteractable
Bounding BoxBounding BoxBounding Box
App BarApp BarApp Bar
One Hand Manipulation (Grb and Move)HandDraggableManipulation Handler
Two Hand Manipulation (Grab/Move/Rotate/Scale)TwoHandManipulatableManipulation Handler
KeyboardKeyboard prefabSystem Keyboard
TooltipTooltipTooltip
Object CollectionObject CollectionObject Collection
SolverSolverSolver

Utilities

Some Utilities have been reconciled as duplicates with the Solver system. Please file an issue if any of the scripts you need are missing.

Unity Holotoolkit

HTK 2017MRTK v2
BillboardBillboard
TagalongRadialView or OrbitalSolver
FixedAngularSize
FpsDisplayDiagnostics System (in Configuration Profile)
NearFadeBuilt-in to Mixed Reality Toolkit Standard shader

Start bringing your vision to life today with the Unity real-time 3D development platform.

Unity’s flexible real-time development platform offers incredible possibilities for all industries and applications.

Holotoolkit.unity.input Module

Mad tv raging rudolph. Discover inspiring stories from creators who chose Unity to bring their projects to life.

Unity is so much more than the world’s best real-time development platform – it’s also a robust ecosystem designed to enable your success. Join our dynamic community of creators so you can tap into what you need to achieve your vision.

Unity Learn

Advance your Unity skills with live sessions and over 750 hours of on-demand learning content designed for creators at every skill level.

Asset Store

Jump-start your project and get to the finish line faster with an ever-growing catalog of free and paid assets and tools.

Unity Holotoolkit
Documentation
Unity Holotoolkit

Get up to speed on Unity features and workflows, and find out how to create and use scripts, with our thorough, well-organized documentation.

Support

Access the right resources at the right time. Our deep industry experience and expert Unity knowledge puts us in the best position to help you succeed.

Together, we empower real-time creativity around the world

Join the global team behind the world’s most powerful real-time development platform.

Deliver incredible possibilities

Build once, deploy anywhere to reach the largest possible audience across 25+ leading platforms and technologies.