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
-
- Object
- FollowPuckViewportStateBearing
- FollowPuckViewportStateBearingConstant
Constructors
- FollowPuckViewportStateBearingConstant.new(double bearing)
-
Creates a FollowPuckViewportStateBearingConstant with the given
bearing
value.const
Properties
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