API

Class FollowCameraPointersInput

Manage the pointers inputs to control an follow camera.

Hierarchy (View Summary)

Index
angularSensibilityX: number = 1

Defines the pointer angular sensibility along the X axis or how fast is the camera rotating. A negative number will reverse the axis direction.

angularSensibilityY: number = 1

Defines the pointer angular sensibility along the Y axis or how fast is the camera rotating. A negative number will reverse the axis direction.

axisPinchControlHeight: boolean = false

Pinch controls height. (Pinch modifies camera.heightOffset value.)

axisPinchControlRadius: boolean = true

Pinch controls zoom. (Pinch modifies camera.radius value.)

axisPinchControlRotation: boolean = false

Pinch controls angle. (Pinch modifies camera.rotationOffset value.)

axisXControlHeight: boolean = false

Pointer X axis controls height. (X axis modifies camera.heightOffset value.)

axisXControlRadius: boolean = false

Pointer X axis controls zoom. (X axis modifies camera.radius value.)

axisXControlRotation: boolean = true

Pointer X axis controls angle. (X axis modifies camera.rotationOffset value.)

axisYControlHeight: boolean = true

Pointer Y axis controls height. (Y axis modifies camera.heightOffset value.)

axisYControlRadius: boolean = false

Pointer Y axis controls zoom. (Y axis modifies camera.radius value.)

axisYControlRotation: boolean = false

Pointer Y axis controls angle. (Y axis modifies camera.rotationOffset value.)

buttons: number[] = ...

Defines the buttons associated with the input to handle camera move.

camera: FollowCamera

Defines the camera the input is attached to.

pinchDeltaPercentage: number = 0

pinchDeltaPercentage will be used instead of pinchPrecision if different from 0. It defines the percentage of current camera.radius to use as delta when pinch zoom is used.

pinchPrecision: number = 10000.0

Defines the pointer pinch precision or how fast is the camera zooming. A negative number will reverse the axis direction.

warningEnable: boolean = true

Log error messages if basic misconfiguration has occurred.