ArcRotateCameraMouseWheelInput

Description

class ArcRotateCameraMouseWheelInput

Members

camera : ArcRotateCamera

wheelPrecision : number

wheelDeltaPercentage : number

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.

Methods

attachControl(element, noPreventDefault) void

Parameters

Name Type Description
element HTMLElement
optional noPreventDefault boolean

detachControl(element) void

Parameters

Name Type Description
element Nullable<HTMLElement>

getClassName() string

getSimpleName() string