Firstpersoncameracontrolswrapper

FirstPersonCameraControlsWrapper class

The class is used to implement first person camera controls.``

The meaning of object & target options is intepreted as follows:

  • The object is typically set to the camera object being controlled

  • The target is the object that the camera will follow

Signature:

export declare class FirstPersonCameraControlsWrapper extends ControlsAbstract 

Extends: ControlsAbstract

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the FirstPersonCameraControlsWrapper class.

Properties

Property

Modifiers

Type

Description

active

boolean

Returns true if the controls are active, false otherwise