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

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

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

Returns a String for the object.

Properties

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

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.