Table of Contents

Struct FreeCamera

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A map camera's whole position and orientation in three dimensions.

public readonly record struct FreeCamera : IEquatable<FreeCamera>
Implements
Inherited Members

Remarks

Its members mean the same as those of FreeCameraOptions.

See mln_free_camera in the C API reference.

Constructors

FreeCamera(Vec3, Quaternion)

A map camera's whole position and orientation in three dimensions.

public FreeCamera(Vec3 Position, Quaternion Orientation)

Parameters

Position Vec3
Orientation Quaternion

Remarks

Its members mean the same as those of FreeCameraOptions.

See mln_free_camera in the C API reference.

Properties

Orientation

public Quaternion Orientation { get; init; }

Property Value

Quaternion

Position

public Vec3 Position { get; init; }

Property Value

Vec3