-
The value for the w axis.
Declaration
Swift
public var w: Double { get }
-
The value for the x axis.
Declaration
Swift
public var x: Double { get }
-
The value for the y axis.
Declaration
Swift
public var y: Double { get }
-
The value for the z axis.
Declaration
Swift
public var z: Double { get }
-
Convert from double-precision floating-point values to single-precision floating-point values.
Declaration
Swift
public var quatf: simd_quatf { get }
-
Rotation of the device around X axis, in radians.
Declaration
Swift
public var xRotation: Double { get }
-
Rotation of the device around Y axis, in radians.
Declaration
Swift
public var yRotation: Double { get }
-
Rotation of the device around Z axis, in radians.
Declaration
Swift
public var zRotation: Double { get }
-
Returns right-handed rotation around the X axis defined in the Bose Wearable Coordinate System. However, it only works for the raw Quaternion coming from the device. If calibrating or mapping to a different coordinate system, derive your pitch in the new coordinate system from right-handed
Quaternion.xRotation
,Quaternion.yRotation
, andQuaternion.zRotation
.Declaration
Swift
@available(*, deprecated, message: "Use Quaternion.xRotation, Quaternion.yRotation, or Quaternion.zRotation.") public var pitch: Double { get }
-
Returns right-handed rotation around the Y axis defined in the Bose Wearable Coordinate System. However, it only works for the raw Quaternion coming from the device. If calibrating or mapping to a different coordinate system, derive your pitch in the new coordinate system from right-handed
Quaternion.xRotation
,Quaternion.yRotation
, andQuaternion.zRotation
.Declaration
Swift
@available(*, deprecated, message: "Use Quaternion.xRotation, Quaternion.yRotation, or Quaternion.zRotation.") public var roll: Double { get }
-
Returns right-handed rotation around the Z axis defined in the Bose Wearable Coordinate System. However, it only works for the raw Quaternion coming from the device. If calibrating or mapping to a different coordinate system, derive your pitch in the new coordinate system from right-handed
Quaternion.xRotation
,Quaternion.yRotation
, andQuaternion.zRotation
.Declaration
Swift
@available(*, deprecated, message: "Use Quaternion.xRotation, Quaternion.yRotation, or Quaternion.zRotation.") public var yaw: Double { get }
-
A textual description of the quaternion suitable for debugging.
Declaration
Swift
public var debugDescription: String { get }