LeapRecorder.GetFramesCount C# (CSharp) Method

GetFramesCount() public method

public GetFramesCount ( ) : int
return int
  public int GetFramesCount() {
    return frames_.Count;
  }

Usage Example

Example #1
0
    // Update is called once per frame
    void Update()
    {
        if (playing)
        {
            // controller.gameObject.SetActive(true);
            if (!previousPlaying)
            {
                //  controller.gameObject.SetActive(true);

                Debug.Log("Loaded FrameCount: " + player.GetFramesCount());
                player.Play();
                player.loop = true;
            }

            //			teacherImage.gameObject.SetActive (false);
            //		teacherImage.sprite = gesture.teacherFrames [Mathf.FloorToInt (Time.time) % 2];
        }
        else
        {
            //	teacherImage.gameObject.SetActive (false);
            // controller.gameObject.SetActive(false);
        }

        previousPlaying = playing;
    }
All Usage Examples Of LeapRecorder::GetFramesCount