CLASSES
TagsA - Z

CameraInputsManager

Description

class CameraInputsManager

Constructor

new CameraInputsManager(camera)

Parameters

Name Type Description
camera TCamera

Members

attached : CameraInputsMap<TCamera>

attachedElement : HTMLElement

noPreventDefault : boolean

camera : TCamera

checkInputs : () => void

Methods

add(input) → void

Parameters

Name Type Description
input ICameraInput<TCamera>

remove(inputToRemove) → void

Parameters

Name Type Description
inputToRemove ICameraInput<TCamera>

removeByType(inputType) → void

Parameters

Name Type Description
inputType string

attachInput(input) → void

Parameters

Name Type Description
input ICameraInput<TCamera>

attachElement(element, noPreventDefault) → void

Parameters

Name Type Description
element HTMLElement
optional noPreventDefault boolean

detachElement(element) → void

Parameters

Name Type Description
element HTMLElement

rebuildInputCheck() → void

clear() → void

serialize(serializedCamera) → void

Parameters

Name Type Description
serializedCamera any

parse(parsedCamera) → void

Parameters

Name Type Description
parsedCamera any