/// <summary> /// A private constructor. /// </summary> private iWearTracker() { identifier = "iWearTracker"; isAvailable = false; stereoAvailable = false; trackerAvailable = false; sensorAvailable = false; productID = iWearDllBridge.IWRProductID.IWR_PROD_NONE; rotation = Quaternion.Identity; yaw = 0; pitch = 0; roll = 0; magneticData = Vector3.Zero; accelerationData = Vector3.Zero; gyroData = Vector3.Zero; lbGyroData = Vector3.Zero; sensorData = new iWearDllBridge.IWRSensorData(); isHiDef = (State.Device.GraphicsProfile == GraphicsProfile.HiDef); stereoHandle = ((IntPtr)(-1)); // Setup a query, to provide GPU syncing method. if (isHiDef) { g_QueryGPU = new OcclusionQuery(State.Device); } windowBottomLine = 0; }
/// <summary> /// A private constructor. /// </summary> private iWearTracker() { identifier = "iWearTracker"; isAvailable = false; stereoAvailable = false; trackerAvailable = false; sensorAvailable = false; productID = iWearDllBridge.IWRProductID.IWR_PROD_NONE; rotation = Quaternion.Identity; yaw = 0; pitch = 0; roll = 0; magneticData = Vector3.Zero; accelerationData = Vector3.Zero; gyroData = Vector3.Zero; lbGyroData = Vector3.Zero; sensorData = new iWearDllBridge.IWRSensorData(); isHiDef = (State.Device.GraphicsProfile == GraphicsProfile.HiDef); stereoHandle = ((IntPtr)(-1)); // Setup a query, to provide GPU syncing method. if(isHiDef) g_QueryGPU = new OcclusionQuery(State.Device); windowBottomLine = 0; }