DisableMinDragDifferenceForAxis() public static method

public static DisableMinDragDifferenceForAxis ( int axis ) : void
axis int
return void
Esempio n. 1
0
 public static void DisableMinDragDifferenceBasedOnSnapping(Vector3 positionBeforeSnapping, Vector3 positionAfterSnapping)
 {
     for (int i = 0; i < 3; i++)
     {
         if (positionBeforeSnapping[i] != positionAfterSnapping[i])
         {
             ManipulationToolUtility.DisableMinDragDifferenceForAxis(i);
         }
     }
 }
 public static void DisableMinDragDifferenceBasedOnSnapping(Vector3 positionBeforeSnapping, Vector3 positionAfterSnapping)
 {
     for (int axis = 0; axis < 3; ++axis)
     {
         if ((double)positionBeforeSnapping[axis] != (double)positionAfterSnapping[axis])
         {
             ManipulationToolUtility.DisableMinDragDifferenceForAxis(axis);
         }
     }
 }