API

Class FollowCameraMouseWheelInput

Manage the mouse wheel inputs to control a follow camera.

Implements

Index
axisControlHeight: boolean = false

Moue wheel controls height. (Mouse wheel modifies camera.heightOffset value.)

axisControlRadius: boolean = true

Moue wheel controls zoom. (Mouse wheel modifies camera.radius value.)

axisControlRotation: boolean = false

Moue wheel controls angle. (Mouse wheel modifies camera.rotationOffset value.)

camera: FollowCamera

Defines the camera the input is attached to.

wheelDeltaPercentage: number = 0

wheelDeltaPercentage will be used instead of wheelPrecision if different from 0. It defines the percentage of current camera.radius to use as delta when wheel is used.

wheelPrecision: number = 3.0

Gets or Set the mouse wheel precision or how fast is the camera moves in relation to mouseWheel events.