ArSensor class

Constructors

ArSensor({required double heading, required double pitch, required NativeDeviceOrientation orientation, required double compassAccuracy, Position? location, List<double>? rotationMatrix})
const

Properties

compassAccuracy → double
Estimated heading error in degrees (±), or -1 when unknown, e.g. while the compass needs calibration. On Android this is an approximation derived from the sensor accuracy status.
final
hashCode → int
The hash code for this object.
no setterinherited
heading → double
Direction the back camera points to, in degrees from true north, in [0, 360).
final
location → Position?
final
orientation → NativeDeviceOrientation
final
pitch → double
Elevation of the camera axis in degrees: 0 when the device is held upright, negative when the camera points down.
final
rotationMatrix → List<double>?
Full device attitude as a row-major 3x3 rotation matrix mapping a world vector (East, North, Up — true north) to screen coordinates (x to the right of the screen, y to its top, z out of the screen towards the viewer), for the current UI orientation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited