unregisterImageBasedMaterial() public static method

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