Class BaseCameraPointersInput
Hierarchy
- BaseCameraPointersInput
Implements
Index
Properties
Methods
Properties
buttonsSearch playground for buttons
Defines the buttons associated with the input to handle camera move.
Abstract cameraSearch playground for camera
Defines the camera the input is attached to.
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
Base class for Camera Pointer Inputs. See FollowCameraPointersInput in src/Cameras/Inputs/followCameraPointersInput.ts for example usage.