unregisterImageBasedMaterial() public static method

public static unregisterImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
imageBasedMaterial LeapImageBasedMaterial
return void
Example #1
0
 void OnDisable ()
 {
   LeapImageRetriever.unregisterImageBasedMaterial (this);
   if (cameraAlignment != null) {
     cameraAlignment.warpedImages.Remove(this);
   }
 }
Example #2
0
 void OnDisable()
 {
     LeapImageRetriever.unregisterImageBasedMaterial(this);
 }