CamLookAtEasedCoord

class CamLookAtEasedCoord : OutgoingGameMessage

Cam look at eased coord is used to make the camera look towards a certain coordinate with various easing functions.

Constructors

Link copied to clipboard
constructor(xInBuildArea: Int, zInBuildArea: Int, height: Int, duration: Int, function: Int)

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard

the dest x coordinate within the build area, in range of 0 to 103 (inclusive)

Link copied to clipboard

the dest z coordinate within the build area, in range of 0 to 103 (inclusive)

Link copied to clipboard

the duration of the movement in client cycles (20ms/cc)

Link copied to clipboard

the camera easing function, allowing for finer control over the way it moves from the start coordinate to the end.

Link copied to clipboard
val height: Int

the height of the camera

Functions

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