FollowPuckViewportStateOptions

class FollowPuckViewportStateOptions

Configuration options that impact the FollowPuckViewportState.

Each of the CameraOptions related properties is optional, so that the state can be configured to only modify certain aspects of the camera if desired. This can be used, to achieve effects like allowing zoom gestures to work simultaneously with FollowPuckViewportState.

See also

Types

Builder
Link copied to clipboard
class Builder

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toBuilder
Link copied to clipboard
fun toBuilder(): <ERROR CLASS>
Returns a builder that created the FollowPuckViewportStateOptions
toString
Link copied to clipboard
open override fun toString(): String
Returns a String for the object.

Properties

animationDurationMs
Link copied to clipboard
val animationDurationMs: Long
The duration of an animation that happens once when FollowPuckViewportState.startUpdatingCamera is invoked.
bearing
Link copied to clipboard
val bearing: FollowPuckViewportStateBearing?
Indicates how to obtain the value to use for CameraOptions.bearing when setting the camera.
padding
Link copied to clipboard
val padding: EdgeInsets?
The value to use for setting CameraOptions.padding.
pitch
Link copied to clipboard
val pitch: Double?
The value to use for setting CameraOptions.pitch.
zoom
Link copied to clipboard
val zoom: Double?
The value to use for setting CameraOptions.zoom.