Beispiel #1
0
        public static Anchor CreateAnchor(Pose pose, Trackable trackable = null)
        {
            var nativeSession = LifecycleManager.Instance.NativeSession;

            if (nativeSession == null)
            {
                return(null);
            }
            if (trackable == null)
            {
                return(nativeSession.SessionApi.CreateAnchor(pose));
            }
            else
            {
                return(trackable.CreateAnchor(pose));
            }
        }
Beispiel #2
0
 internal static bool Raycast(float x, float y, TrackableHitFlags raycastFilter, out Trackable hit)
 {
     throw new NotImplementedException();
 }