API

Class FreeCameraMouseWheelInput

Manage the mouse wheel inputs to control a free camera.

Hierarchy (View Summary)

Index
camera: FreeCamera

Defines the camera the input is attached to.

onChangedObservable: Observable<
    { wheelDeltaX: number; wheelDeltaY: number; wheelDeltaZ: number },
> = ...

Observable for when a mouse wheel move event occurs.

wheelPrecisionX: number = 3.0

How fast is the camera moves in relation to X axis mouseWheel events. Use negative value to reverse direction.

wheelPrecisionY: number = 3.0

How fast is the camera moves in relation to Y axis mouseWheel events. Use negative value to reverse direction.

wheelPrecisionZ: number = 3.0

How fast is the camera moves in relation to Z axis mouseWheel events. Use negative value to reverse direction.