AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
PointerResult.cs
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License. See LICENSE in the project root for license information.
3 
4 using System;
5 using UnityEngine;
6 
7 namespace HoloToolkit.Unity.InputModule
8 {
9  [Serializable]
10  public class PointerResult
11  {
12  public Vector3 StartPoint { get; protected set; }
13 
14  public FocusDetails End { get; protected set; }
15 
16  public GameObject PreviousEndObject { get; protected set; }
17 
18  public RaycastHit LastRaycastHit { get; protected set; }
19 
24  public int RayStepIndex { get; protected set; }
25  }
26 }
FocusDetails struct contains information about which game object has the focus currently. Also contains information about the normal of that point.
Definition: FocusDetails.cs:14