TrackingCameraBehaviorManeuverModeConfiguration class

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 TrackingCameraBehaviorManeuverModeConfiguration.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 null options, the camera does not react.

Constructors

TrackingCameraBehaviorManeuverModeConfiguration()

Properties

bearingThresholdInDegrees ↔ double
Maximum angle difference in degrees between the current bearing and the bearing to the maneuver point. If the difference exceeds this threshold, the camera does not turn towards the maneuver. Valid range is 0.0 to 180.0. Defaults to 30.0.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
maneuverRules ↔ List<TrackingCameraBehaviorManeuverRule>
Ordered list of maneuver rules. Rules are evaluated in order; the first matching rule determines the camera behavior. If empty, this configuration is not valid and the camera does not react to maneuvers.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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