FreeCameraOptions class final

The camera's position and orientation in three dimensions.

See mln_free_camera_options in the C API reference.

Constructors

FreeCameraOptions({Vec3? position, Quaternion? orientation})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
orientation → Quaternion?
The camera's rotation from looking straight down with north at the top of the screen.
final
position → Vec3?
The camera's position in Web Mercator units, where the world is 1 wide, (0, 0) is its northwest corner, and (1, 1) is its southeast corner. z is the altitude in the same units.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Vec3? position, Quaternion? orientation}) → FreeCameraOptions
A copy of this value with the given members replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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