Example #1
0
 // Update is called once per frame
 void Update()
 {
     if (kinect.pollBackgroundRemoval())
     {
         Color32[] c = kinect.getBackgroundRemovalTexture();
         if (null != c)
         {
             tex.SetPixels32(c);
             tex.Apply(false);
         }
     }
 }