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; }
public static extern void FinchOnePoseAxisCalibration(FinchChirality chirality, FinchRecenterMode mode);
public static extern void FinchRecenter(FinchChirality chirality, FinchRecenterMode mode);
/// <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); }
/// <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); }
public void Recenter(FinchChirality chirality, FinchRecenterMode recenterMode) { FinchCore.Recenter(chirality, recenterMode); }
public void Calibrate(FinchChirality chirality, FinchRecenterMode recenterMode) { FinchCore.OnePoseAxisCalibration(chirality, recenterMode); Recenter(chirality, recenterMode); FinchCore.SaveCalibrations(); }
public void Recenter(FinchChirality chirality, FinchRecenterMode recenterMode) { WarningDummy("Recenter"); }
public void Calibrate(FinchChirality chirality, FinchRecenterMode recenterMode) { WarningDummy("Calibration"); }