O'Reilly logo

Microsoft HoloLens By Example by Joshua Newnham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Constructing a path 

In this section, we will implement the supporting methods that will be used to construct a path to show the user where a specific item is when requested. All of this will reside in the AssistantItemFinderMain class, so open this up in Visual Studio, if not already open, and let's get started.

As usual, we will start by declaring the necessary variables. Add the following to the AssistantItemFinderMain class:

private string requestedSightingTerm = string.Empty;private Node targetNode = null;private Sighting targetSighting = null;private Renderer targetNodeRenderer;

The variable requestedSightingTerm stores the item we are currently searching for, while targetNode and targetSighting will be the associated node and sighting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required