GetUserPausePoseProgress() 개인적인 메소드

private GetUserPausePoseProgress ( uint userID ) : float
userID uint
리턴 float
예제 #1
0
파일: Nite.cs 프로젝트: masohail/cve-kinect
    void OnGUI()
    {
        if (calibratedUsers.Count < soldiers.Length)
        {
            GUI.DrawTexture(usersMapRect, usersLblTex);
            caption.text = String.Format("Waiting for {0} more users to calibrate...", soldiers.Length - calibratedUsers.Count);
        }
        else
        {
            caption.text = "All users calibrated";
        }

        foreach (uint userId in allUsers)
        {
            float progress = NiteWrapper.GetUserPausePoseProgress(userId);
            if (NiteWrapper.GetUserPausePoseProgress(userId) > 0.0)
            {
                caption.text = String.Format("[User {0}] Pause pose progress: {1}", userId, progress);
                break;
            }
        }
    }