FreeCameraInputsManager

Hierarchy

Index

Constructors

constructor

Properties

attached

attachedElement

attachedElement: Nullable<HTMLElement>

camera

camera: FreeCamera

checkInputs

checkInputs: function

Type declaration

    • (): void
    • Returns void

noPreventDefault

noPreventDefault: boolean

Methods

add

  • Add an input method to a camera. builtin inputs example: camera.inputs.addGamepad(); custom inputs example: camera.inputs.add(new BABYLON.FreeCameraGamepadInput());

    Parameters

    Returns void

addDeviceOrientation

addGamepad

addKeyboard

addMouse

addTouch

addVirtualJoystick

attachElement

  • attachElement(element: HTMLElement, noPreventDefault?: boolean): void

attachInput

clear

  • clear(): void

detachElement

  • detachElement(element: HTMLElement, disconnect?: boolean): void

parse

  • parse(parsedCamera: any): void

rebuildInputCheck

  • rebuildInputCheck(): void

remove

removeByType

  • removeByType(inputType: string): void

serialize

  • serialize(serializedCamera: any): void

Generated using TypeDoc