rotationMatrix property

List<double>? rotationMatrix
final

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.

Unlike heading/pitch it also carries the roll and has no singularity when tilting the device. When null (e.g. custom ArSensorSource), it is rebuilt from heading and pitch with no roll.

Implementation

final List<double>? rotationMatrix;