示例#1
0
 private static void Sgworld_OnPresentationFlyToReachedDestination(string PresentationID, IPresentationStep66 Step)
 {
     if (PresentationID.Equals(mPresentation.ID))
     {
         if (Step.Description.Equals("Ended"))
         {
             mPresentation.Stop();
             NavigationFinished?.Invoke();
         }
     }
 }
示例#2
0
 private void Sgworld_OnPresentationFlyToReachedDestination(string PresentationID, IPresentationStep66 Step)
 {
     if (PresentationID.Equals(mPresentation.ID))
     {// 动态生成的Presentation,长距离漫游定位,动态生成漫游路径
         if (Step.Description.Equals("Ended"))
         {
             mPresentation.Stop();
             ReachOnePlace();
         }
     }
     else if (mTeObject != null && mTeObject.mPresentation != null && PresentationID.Equals(mTeObject.mPresentation.ID))
     {// 预定义的Presentation,目前仅火车站播放动画使用
         if (Step.Description.Equals("Ended"))
         {
             mTeObject.mPresentation.Stop();
             readyForNext            = true;
             mTEScene.prjInfoForm.ws = ShowFormStatus.eClosing; // 触发下一个漫游热点
         }
     }
 }