FollowPuckViewportStateBearingConstant class

Sets the camera's bearing to a constant value.

When used, the camera's bearing will be fixed to the specified bearing, regardless of the device's orientation or movement.

Example:

final bearingOption = FollowPuckViewportStateBearingConstant(90.0);
Inheritance

Constructors

FollowPuckViewportStateBearingConstant(double bearing)
Creates a FollowPuckViewportStateBearingConstant with the given bearing value.
const

Properties

bearing → double
The constant value to set the camera's bearing, in degrees.
final
hashCode → int
The hash code for this object.
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