Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArcRotateCameraVRDeviceOrientationInput

Manage the device orientation inputs (gyroscope) to control an arc rotate camera.

see

https://doc.babylonjs.com/how_to/customizing_camera_inputs

Hierarchy

  • ArcRotateCameraVRDeviceOrientationInput

Implements

Index

Constructors

constructor

Properties

alphaCorrectionSearch playground for alphaCorrection

alphaCorrection: number

Defines a correction factor applied on the alpha value retrieved from the orientation events.

cameraSearch playground for camera

Defines the camera the input is attached to.

gammaCorrectionSearch playground for gammaCorrection

gammaCorrection: number

Defines a correction factor applied on the gamma value retrieved from the orientation events.

Methods

attachControlSearch playground for attachControl

  • attachControl(noPreventDefault?: boolean): void

checkInputsSearch playground for checkInputs

  • checkInputs(): void
  • Update the current camera state depending on the inputs that have been used this frame. This is a dynamically created lambda to avoid the performance penalty of looping for inputs in the render loop.

    Returns 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