Table of Contents

Class FreeCameraOptions

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

The camera's position and orientation in three dimensions.

public sealed record FreeCameraOptions : IEquatable<FreeCameraOptions>
Inheritance
FreeCameraOptions
Implements
Inherited Members

Remarks

See mln_free_camera_options in the C API reference.

Properties

Orientation

The camera's rotation from looking straight down with north at the top of the screen.

public Quaternion? Orientation { get; init; }

Property Value

Quaternion?

Position

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.

public Vec3? Position { get; init; }

Property Value

Vec3?