getMovement

fun getMovement(type: CameraEventType, modifier: KeyboardEventModifier? = definedExternally): Any(source)

Gets the aggregated start and end position of the current event.

Return

An object with two Cartesian2 properties: startPosition and endPosition.

Parameters

type

The camera event type.

modifier

The keyboard modifier.

See also