TrackingCameraBehaviorSpeedBasedTiltPolicyOptions class

Configuration for the speed-based tilt policy.

Tilt is linearly interpolated between TrackingCameraBehaviorSpeedBasedTiltEntry.minTiltInDegrees and TrackingCameraBehaviorSpeedBasedTiltEntry.maxTiltInDegrees as speed increases from 0 to TrackingCameraBehaviorSpeedBasedTiltEntry.maxSpeedInMetersPerSecond. Above that speed tilt stays at TrackingCameraBehaviorSpeedBasedTiltEntry.maxTiltInDegrees.

Constructors

TrackingCameraBehaviorSpeedBasedTiltPolicyOptions(TrackingCameraBehaviorSpeedBasedTiltEntry defaultEntry)

Properties

defaultEntry ↔ TrackingCameraBehaviorSpeedBasedTiltEntry
Default configuration entry used when the current road classification has no specific mapping.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
roadClassificationToTiltEntry ↔ Map<RoadClassification, TrackingCameraBehaviorSpeedBasedTiltEntry>
Specialized road classification tilt entries. When a classification is present here it overrides TrackingCameraBehaviorSpeedBasedTiltPolicyOptions.defaultEntry. If not set, TrackingCameraBehaviorSpeedBasedTiltPolicyOptions.defaultEntry applies. Defaults to empty list.
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