Class ArcRotateCameraPointersInput
Hierarchy
-
BaseCameraPointersInput
- ArcRotateCameraPointersInput
Implements
Index
Properties
angular SensibilityXSearch playground for angularSensibilityX
Defines the pointer angular sensibility along the X axis or how fast is the camera rotating.
angular SensibilityYSearch playground for angularSensibilityY
Defines the pointer angular sensibility along the Y axis or how fast is the camera rotating.
buttonsSearch playground for buttons
Defines the buttons associated with the input to handle camera move.
cameraSearch playground for camera
Defines the camera the input is attached to.
multi Touch Pan And ZoomSearch playground for multiTouchPanAndZoom
Defines whether panning is enabled for both pan (2 fingers swipe) and zoom (pinch) through multitouch.
multi Touch PanningSearch playground for multiTouchPanning
Defines whether panning (2 fingers swipe) is enabled through multitouch.
panning SensibilitySearch playground for panningSensibility
Defines the pointer panning sensibility or how fast is the camera moving.
pinch Delta PercentageSearch playground for pinchDeltaPercentage
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.
pinch InwardsSearch playground for pinchInwards
Revers pinch action direction.
pinch PrecisionSearch playground for pinchPrecision
Defines the pointer pinch precision or how fast is the camera zooming.
pinch ZoomSearch playground for pinchZoom
Defines whether zoom (2 fingers pinch) is enabled through multitouch
use Natural Pinch ZoomSearch playground for useNaturalPinchZoom
When useNaturalPinchZoom is true, multi touch zoom will zoom in such that any object in the plane at the camera's target point will scale perfectly with finger motion. Overrides pinchDeltaPercentage and pinchPrecision.
Methods
attach ControlSearch playground for attachControl
-
Attach the input controls to a specific dom element to get the input from.
Parameters
-
Optional noPreventDefault: boolean
Defines whether event caught by the controls should call preventdefault() (https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault)
Returns void
-
detach ControlSearch playground for detachControl
-
Detach the current controls from the specified dom element.
Returns void
get Class NameSearch playground for getClassName
-
Gets the class name of the current input.
Returns string
the class name
get Simple NameSearch playground for getSimpleName
-
Get the friendly name associated with the input class.
Returns string
the input friendly name
Manage the pointers inputs to control an arc rotate camera.
https://doc.babylonjs.com/how_to/customizing_camera_inputs