TrackingCameraBehavior.ManeuverRuleOptions (API Reference)
Class TrackingCameraBehavior.ManeuverRuleOptions
- Enclosing class:
- TrackingCameraBehavior
Defines a set of configurations specific to a TrackingCameraBehavior.ManeuverRule.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleDistance in meters for early activation.doubleDistance in meters after the previous maneuver point within which this rule remains active.doubleDistance in meters before the next maneuver point within which this rule becomes active.The zoom range for this rule. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
zoomRange
The zoom range for this rule. Defines the minimum and maximum zoom levels.
-
earlyPreManeuverActivationThresholdInMeters
public double earlyPreManeuverActivationThresholdInMetersDistance in meters for early activation. If the current position enters this threshold of the upcoming maneuver while still within
postManeuverActivationThresholdInMetersof the previous maneuver, the camera behaves as though it were already in the upcoming maneuver's pre-activation zone. Must be non-negative. Defaults to 0.0. -
preManeuverActivationThresholdInMeters
public double preManeuverActivationThresholdInMetersDistance in meters before the next maneuver point within which this rule becomes active. Must be non-negative. Defaults to 0.0.
-
postManeuverActivationThresholdInMeters
public double postManeuverActivationThresholdInMetersDistance in meters after the previous maneuver point within which this rule remains active. Must be non-negative. Defaults to 0.0.
-
-
Constructor Details
-
ManeuverRuleOptions
public ManeuverRuleOptions()Creates a new instance.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-