2017-05-22 9 views
0

vuforia AR 응용 프로그램에서 비디오를 반복하려고 시도한 첫 번째 아이디어는 비디오를 두 부분으로 나누어 개별적으로 재생하는 것이지만 첫 번째 비디오가 끝나고 플레이어가 두 번째 비디오를로드 할 때 발생하는 틈이 있습니다.Unity/Vuforia 비디오에서 찾기 위치를 찾는 방법은 무엇입니까?

코드에서 검색

내가이 시간 값,

/// <summary> 
    /// Request a movie to be played either full screen or on texture and at a given position 
    /// </summary> 
    public bool Play(bool fullScreen, float seekPosition) 
    { 
     // We use Unity's built-in full screen movie player 
     if (fullScreen) 
     { 
      if (mFilename == null) 
      { 
       return false; 
      } 

      Handheld.PlayFullScreenMovie(mFullScreenFilename, Color.black, FullScreenMovieControlMode.Full, FullScreenMovieScalingMode.AspectFit); 
      return true; 
     } 
     else 
     { 
      return videoPlayerPlay(fullScreen, seekPosition); 
     } 
    } 

느릅 나무는 내가 추구하고 주어진 위치에서 연주 할 수 있습니다하지만 난 시크 위치를 찾는 방법을 잘 모릅니다 VideoPlayHelper.cs의 재생 기능을 발견 또는 프레임 값? ... 그것은 초 시간 값이) 그래서 당신이 10.5 초 추구하려는 경우 다음 당신은 그 값을 넣어 :

감사합니다 ..

답변

0

은 나 자신에 대답

video.play(false,10.5);