ManeuverModeConfiguration

public struct ManeuverModeConfiguration

Configuration that defines how TrackingCameraBehavior reacts to nearby maneuvers.

On each frame, and based on the current position, the availability of its functional road class, and the availability of maneuver data for at least one adjacent maneuver, the camera checks for a match against the TrackingCameraBehavior.ManeuverModeConfiguration.maneuverRules in the order they are listed. If a match is found, subsequent rules are not checked. If no match is found, if inputs are unavailable, or if the matched rule has nil options, the camera does not react.

For correct default initialization, use TrackingCameraBehavior.defaultManeuverModeConfiguration(...).