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(): FollowPuckViewportStateOptions.Builder

Returns a builder that created the FollowPuckViewportStateOptions

toString
Link copied to clipboard
open override fun toString(): String

Returns a String for the object.

Properties

bearing
Link copied to clipboard
val bearing: FollowPuckViewportStateBearing?

Indicates how to obtain the value to use for CameraOptions.bearing when setting the camera. If set to null, bearing will not be modified by the FollowPuckViewportState.

padding
Link copied to clipboard
val padding: EdgeInsets?

The value to use for setting CameraOptions.padding. If null, padding will not be modified by the FollowPuckViewportState.

pitch
Link copied to clipboard
val pitch: Double?

The value to use for setting CameraOptions.pitch. If null, pitch will not be modified by the FollowPuckViewportState.

zoom
Link copied to clipboard
val zoom: Double?

The value to use for setting CameraOptions.zoom. If null, zoom will not be modified by the FollowPuckViewportState.