Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseCameraPointersInput

Base class for Camera Pointer Inputs. See FollowCameraPointersInput in src/Cameras/Inputs/followCameraPointersInput.ts for example usage.

Hierarchy

Implements

Index

Properties

buttonsSearch playground for buttons

buttons: number[]

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

Abstract cameraSearch playground for camera

camera: Camera

Defines the camera the input is attached to.

Methods

attachControlSearch playground for attachControl

  • attachControl(noPreventDefault?: boolean): void

detachControlSearch playground for detachControl

  • detachControl(): void
  • Detach the current controls from the specified dom element.

    Returns void

getClassNameSearch playground for getClassName

  • getClassName(): string
  • Gets the class name of the current input.

    Returns string

    the class name

getSimpleNameSearch playground for getSimpleName

  • getSimpleName(): string
  • Get the friendly name associated with the input class.

    Returns string

    the input friendly name

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method