MainCamera.controls property
Returns the current camera controls, the type of the controls depends on the mode
property:
- if mode is
firstperson
the controls will be an instance of FirstPersonCameraControlsWrapper - if mode isthirdperson
the controls will be an instance of ThirdPersonCameraControlsWrapper - if mode isfly
the controls will be an instance of FlyCameraControlsWrapper
Signature:
set controls(val: FirstPersonCameraControlsWrapper | ThirdPersonCameraControlsWrapper | FlyCameraControlsWrapper);