Example #1
0
 //private HandJoints joints;
 void Start()
 {
     rm = new ResearchMode();
     PointCloudSubscriber.startTimer();
     ResearchMode.StartPreviewEvent();
     //PointCloudRenderer.toggleView();
     //joints = gameObject.AddComponent<HandJoints>();
     //joints.toggleRecording();
 }
Example #2
0
    void Update()
    {
        ////Debug.Log("button clicked");
        frame++;
        ////joints.UpdateJoints();

        if (frame == 300)
        {
            //stop recording; play
            ResearchMode.StartPreviewEvent();
            PointCloudRenderer.toggleView();
            //joints.toggleRecording();
        }
    }