コード例 #1
0
 /// <summary>
 /// Resets the reconstruction mesh.
 /// </summary>
 public void ResetReconstruction()
 {
     if (_currentState == ReconstructionState.Scanning && _pause)
     {
         _meshGenerator.ResetMeshes();
         ReconstructionInterop.ResetReconstruction();
         _reconstructionReset.Invoke();
     }
     else
     {
         Debug.LogWarning("Reconstruction can only be reset if it is initialized and paused.");
     }
 }