Пример #1
0
        public static void InitSceneSettings(FinchHeadUpdateType headUpdateType, FinchControllersCount count, FinchBodyRotationMode rotationMode, FinchRecenterMode recenterMode)
        {
            HeadUpdateType = headUpdateType;
            UnityEngine.XR.InputTracking.disablePositionalTracking = HeadUpdateType == FinchHeadUpdateType.NoHeadUpdate || HeadUpdateType == FinchHeadUpdateType.RotationUpdate;

            ControllersCount = count;
            BodyRotationMode = rotationMode;
            RecenterMode     = recenterMode;
        }
Пример #2
0
 public static extern void FinchOnePoseAxisCalibration(FinchChirality chirality, FinchRecenterMode mode);
Пример #3
0
 public static extern void FinchRecenter(FinchChirality chirality, FinchRecenterMode mode);
Пример #4
0
 /// <summary>
 ///     Calculates axis calibration matrices by current pose.
 /// </summary>
 /// <param name="chirality"></param>
 /// <param name="mode"></param>
 public static void OnePoseAxisCalibration(FinchChirality chirality, FinchRecenterMode mode)
 {
     Interop.FinchOnePoseAxisCalibration(chirality, mode);
 }
Пример #5
0
 /// <summary>
 ///     Sets forward direction of user by selected direction of hand.
 /// </summary>
 /// <param name="chirality"></param>
 /// <param name="mode"></param>
 public static void Recenter(FinchChirality chirality, FinchRecenterMode mode)
 {
     Interop.FinchRecenter(chirality, mode);
 }
Пример #6
0
 public void Recenter(FinchChirality chirality, FinchRecenterMode recenterMode)
 {
     FinchCore.Recenter(chirality, recenterMode);
 }
Пример #7
0
 public void Calibrate(FinchChirality chirality, FinchRecenterMode recenterMode)
 {
     FinchCore.OnePoseAxisCalibration(chirality, recenterMode);
     Recenter(chirality, recenterMode);
     FinchCore.SaveCalibrations();
 }
Пример #8
0
 public void Recenter(FinchChirality chirality, FinchRecenterMode recenterMode)
 {
     WarningDummy("Recenter");
 }
Пример #9
0
 public void Calibrate(FinchChirality chirality, FinchRecenterMode recenterMode)
 {
     WarningDummy("Calibration");
 }