Class FreeCameraVirtualJoystickInput
Implements
Constructors
constructor
-
Returns FreeCameraVirtualJoystickInput
Methods
attach Control
-
Attach the input controls to a specific dom element to get the input from.
Returns void
check Inputs
-
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
detach Control
-
Detach the current controls from the specified dom element.
Returns void
get Class Name
-
Gets the class name of the current input.
Returns string
the class name
get Left Joystick
get Right Joystick
get Simple Name
-
Get the friendly name associated with the input class.
Returns string
the input friendly name
Manage the Virtual Joystick inputs to control the movement of a free camera.
See
https://doc.babylonjs.com/features/featuresDeepDive/cameras/customizingCameraInputs