Exemplo n.º 1
0
        public TrackablePlaneType GetPlaneType(UInt64 trackable_handle)
        {
            TrackablePlaneType plane_type = TrackablePlaneType.INVALID;

            NativeApi.NRTrackablePlaneGetType(m_NativeInterface.TrackingHandle, trackable_handle, ref plane_type);
            return(plane_type);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Get the plane type.
 /// </summary>
 /// <returns>Plane type.</returns>
 public TrackablePlaneType GetPlaneType()
 {
     if (NRFrame.SessionStatus != SessionState.Running)
     {
         return(trackablePlaneType);
     }
     trackablePlaneType = NativeInterface.NativePlane.GetPlaneType(TrackableNativeHandle);
     return(trackablePlaneType);
 }
Exemplo n.º 3
0
 public static extern NativeResult NRTrackablePlaneGetType(UInt64 session_handle,
                                                           UInt64 trackable_handle, ref TrackablePlaneType out_plane_type);