BodyFrame enum

The body frame is an object-fixed coordinate system that remains rigidly attached to the device or vehicle.

All orientation values are expressed relative to this frame.

Values

deviceFrame → const BodyFrame

The device's frame, such as the frame of a smartphone, is used. If the device is in portrait mode so that the screen is parallel to the ground, the X (lateral) axis points toward right edge of the screen, the Y (longitudinal) axis points toward the top edge of the screen, and the Z (vertical) axis is perpendicular to the ground and points toward the sky.

vehicleFrame → const BodyFrame

The frame of a vehicle, such as a four wheeled motor vehicle, is used. The X (longitudinal) axis points toward the front the the vehicle, the Y (lateral) axis points toward the left side of the vehicle, and the Z (vertical) axis is perpendicular to the ground and points toward the sky.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<BodyFrame>
A constant List of the values in this enum, in order of their declaration.