Table of Contents

Struct CameraTransitionHandler

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A callback for the end of a camera change, for AnimationOptions.

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

Remarks

The callback runs once for each camera command, after every part of the change that the command started has ended.

See mln_camera_transition_handler in the C API reference.

Constructors

CameraTransitionHandler(CameraTransitionEndCallback?)

A callback for the end of a camera change, for AnimationOptions.

public CameraTransitionHandler(CameraTransitionEndCallback? Callback)

Parameters

Callback CameraTransitionEndCallback

Remarks

The callback runs once for each camera command, after every part of the change that the command started has ended.

See mln_camera_transition_handler in the C API reference.

Properties

Callback

public CameraTransitionEndCallback? Callback { get; init; }

Property Value

CameraTransitionEndCallback