FreeCameraDeviceOrientationInput

Takes information about the orientation of the device as reported by the deviceorientation event to orient the camera. Screen rotation is taken into account.

Hierarchy

  • FreeCameraDeviceOrientationInput

Implements

Index

Constructors

constructor

Properties

camera

camera: FreeCamera

Methods

attachControl

  • attachControl(element: HTMLElement, noPreventDefault?: boolean): void
  • Parameters

    • element: HTMLElement
    • Optional noPreventDefault: boolean

    Returns void

checkInputs

  • checkInputs(): void
  • Returns void

detachControl

  • detachControl(element: Nullable<HTMLElement>): void
  • Parameters

    Returns void

getClassName

  • getClassName(): string

getSimpleName

  • getSimpleName(): string

Generated using TypeDoc