Constant

class Constant(bearing: Double) : FollowPuckViewportStateBearing

The FollowPuckViewportState sets the camera bearing to the constant value on every frame.

Parameters

bearing

The bearing that the FollowPuckViewportState uses to generate camera updates.

Constructors

Constant
Link copied to clipboard
fun Constant(bearing: Double)
The bearing that the FollowPuckViewportState uses to generate camera updates.

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.
toString
Link copied to clipboard
open override fun toString(): String
Returns a String for the object.

Properties

bearing
Link copied to clipboard
val bearing: Double
The bearing that the FollowPuckViewportState uses to generate camera updates.