QAbstractCameraController Class (Qt3DExtras8b7c:f320:99b9:690f:4595:cd17:293a:c069QAbstractCameraController) The QAbstractCameraController class provides basic functionality for camera controllers. More...  
 Header:
 #include <QAbstractCameraController> 


 qmake:
 QT += 3dextras


 Since:
 Qt 5.10


 Inherits:
 Qt3DCor8b7c:f320:99b9:690f:4595:cd17:293a:c069QEntity



 Inherited By:
 Qt3DExtras8b7c:f320:99b9:690f:4595:cd17:293a:c069QFirstPersonCameraController and Qt3DExtras8b7c:f320:99b9:690f:4595:cd17:293a:c069QOrbitCameraController 


This class was introduced in Qt 5.10.  List of all members, including inherited members  Properties
  
 
acceleration : float 
camera : Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QCamera* 
deceleration : float 

 
linearSpeed : float 
lookSpeed : float  
  Public Functions
  
 float 

acceleration() const
 
 Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QCamera *

camera() const
 
 float 

deceleration() const
 
 float 

linearSpeed() const
 
 float 

lookSpeed() const
 
 void 

setAcceleration(float acceleration)
 
 void 

setCamera(Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QCamera *camera)
 
 void 

setDeceleration(float deceleration)
 
 void 

setLinearSpeed(float linearSpeed)
 
 void 

setLookSpeed(float lookSpeed)
  Signals
  
 void 

accelerationChanged(float acceleration)
 
 void 

cameraChanged()
 
 void 

decelerationChanged(float deceleration)
 
 void 

linearSpeedChanged()
 
 void 

lookSpeedChanged()
  Protected Functions
  
 Qt3DInput8b7c:f320:99b9:690f:4595:cd17:293a:c069QKeyboardDevice *

keyboardDevice() const
 
 Qt3DInput8b7c:f320:99b9:690f:4595:cd17:293a:c069QMouseDevice *

mouseDevice() const
  Detailed Description
 QAbstractCameraController sets up and handles input from keyboard, mouse, and other devices. QAbstractCameraController is an abstract class and cannot itself be instantiated. It provides a standard interface for camera controllers. Derived classes need only implement the frameActionTriggered() method to move the camera.  Property Documentation 
acceleration : float
 Holds the current acceleration of the camera controller. Access functions:  
 float 

acceleration() const
 
 void 

setAcceleration(float acceleration)
  Notifier signal:  
 void 

accelerationChanged(float acceleration)
  
camera : Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QCamera*
 Holds the currently controlled camera. Access functions:  
 Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QCamera *

camera() const
 
 void 

setCamera(Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QCamera *camera)
  Notifier signal:  
 void 

cameraChanged()
  
deceleration : float
 Holds the current deceleration of the camera controller. Access functions:  
 float 

deceleration() const
 
 void 

setDeceleration(float deceleration)
  Notifier signal:  
 void 

decelerationChanged(float deceleration)
  
linearSpeed : float
 Holds the current linear speed of the camera controller. Linear speed determines the movement speed of the camera. The default is 10.0. Access functions:  
 float 

linearSpeed() const
 
 void 

setLinearSpeed(float linearSpeed)
  Notifier signal:  
 void 

linearSpeedChanged()
  
lookSpeed : float
 Holds the current look speed of the camera controller. The look speed determines the turn rate of the camera pan and tilt. The default is 180.0. Access functions:  
 float 

lookSpeed() const
 
 void 

setLookSpeed(float lookSpeed)
  Notifier signal:  
 void 

lookSpeedChanged()
   Member Function Documentation 
[protected] Qt3DInput8b7c:f320:99b9:690f:4595:cd17:293a:c069QKeyboardDevice *QAbstractCameraController8b7c:f320:99b9:690f:4595:cd17:293a:c069keyboardDevice() const
 Provides access to the keyboard device. 
[protected] Qt3DInput8b7c:f320:99b9:690f:4595:cd17:293a:c069QMouseDevice *QAbstractCameraController8b7c:f320:99b9:690f:4595:cd17:293a:c069mouseDevice() const
 Provides access to the mouse device.

    
{'path': 'public/docs/qt~5.13/qt3dextras-qabstractcameracontroller.html', 'source': 'DevDocs.IO'}