FollowCameraPointersInput

Manage the pointers inputs to control an follow camera.

see

http://doc.babylonjs.com/how_to/customizing_camera_inputs

Hierarchy

Implements

Index

Properties

angularSensibilityX

Find examples in Playground
angularSensibilityX: number

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

Find examples in Playground
angularSensibilityY: number

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

Find examples in Playground
axisPinchControlHeight: boolean

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

axisPinchControlRadius

Find examples in Playground
axisPinchControlRadius: boolean

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

axisPinchControlRotation

Find examples in Playground
axisPinchControlRotation: boolean

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

axisXControlHeight

Find examples in Playground
axisXControlHeight: boolean

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

axisXControlRadius

Find examples in Playground
axisXControlRadius: boolean

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

axisXControlRotation

Find examples in Playground
axisXControlRotation: boolean

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

axisYControlHeight

Find examples in Playground
axisYControlHeight: boolean

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

axisYControlRadius

Find examples in Playground
axisYControlRadius: boolean

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

axisYControlRotation

Find examples in Playground
axisYControlRotation: boolean

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

buttons

Find examples in Playground
buttons: number[]

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

camera

Find examples in Playground
camera: FollowCamera

Defines the camera the input is attached to.

pinchDeltaPercentage

Find examples in Playground
pinchDeltaPercentage: number

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

Find examples in Playground
pinchPrecision: number

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

warningEnable

Find examples in Playground
warningEnable: boolean

Log error messages if basic misconfiguration has occurred.

Methods

attachControl

Find examples in Playground
  • attachControl(element: HTMLElement, noPreventDefault?: boolean): void

detachControl

Find examples in Playground
  • detachControl(element: Nullable<HTMLElement>): void

getClassName

Find examples in Playground
  • getClassName(): string

getSimpleName

Find examples in Playground
  • getSimpleName(): string

Generated using TypeDoc