SpatialWheelDrag

class SpatialWheelDrag(val startYaw: Float, x: Float, z: Float)(source)

A drag that follows the hand around the middle of the table, like turning a wheel.

Constructors

Link copied to clipboard
constructor(startYaw: Float, x: Float, z: Float)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Total turn since the drag began, which can run past a full turn.

Link copied to clipboard
val yaw: Float

Functions

Link copied to clipboard
fun update(x: Float, z: Float): Float

Moves the drag to a new point and returns the yaw to show.