public TrackedDeviceModel(int pointerId) { this.pointerId = pointerId; maxRaycastDistance = k_DefaultMaxRaycastDistance; m_Orientation = Quaternion.identity; m_Position = Vector3.zero; m_SelectDown = changedThisFrame = false; selectDelta = ButtonDeltaState.NoChange; m_ImplementationData = new ImplementationData(); m_ImplementationData.Reset(); }
public TouchModel(int pointerId) { this.pointerId = pointerId; m_Position = deltaPosition = Vector2.zero; m_SelectPhase = TouchPhase.Canceled; changedThisFrame = false; selectDelta = ButtonDeltaState.NoChange; m_ImplementationData = new ImplementationData(); m_ImplementationData.Reset(); }