Placing holograms

Our next job is to place the hologram, the bin, onto a plane. But where? Before proposing a solution, let's first understand a little more of what we have available.

We currently have a set of planes that have satisfied our criteria. If you inspect a plane, you will notice that each plane faces away from the center; for example, the floor's forward direction points downwards. The following figure shows a ray cast at the center of each plane in the -transform.forward direction:

For our purposes, we want our hologram to be placed on top, which in this case, is the -transform.forward side of the plane, illustrated in the preceding ...

Get Microsoft HoloLens By Example now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.