QCamera Class
(Qt3DCore::QCamera)
Public Types
Properties
Public Functions
Public Slots
Signals
Additional Inherited Members
Member Type Documentation
enum QCamera::CameraTranslationOption
Property Documentation
aspectRatio : float
Access functions:
float | aspectRatio() const |
void | setAspectRatio(float aspectRatio) |
Notifier signal:
void | aspectRatioChanged(float aspectRatio) |
bottom : float
Access functions:
float | bottom() const |
void | setBottom(float bottom) |
Notifier signal:
void | bottomChanged(float bottom) |
farPlane : float
Access functions:
float | farPlane() const |
void | setFarPlane(float farPlane) |
Notifier signal:
void | farPlaneChanged(float farPlane) |
fieldOfView : float
Access functions:
float | fieldOfView() const |
void | setFieldOfView(float fieldOfView) |
Notifier signal:
void | fieldOfViewChanged(float fieldOfView) |
left : float
Access functions:
float | left() const |
void | setLeft(float left) |
Notifier signal:
void | leftChanged(float left) |
nearPlane : float
Access functions:
float | nearPlane() const |
void | setNearPlane(float nearPlane) |
Notifier signal:
void | nearPlaneChanged(float nearPlane) |
Access functions:
QVector3D | position() const |
void | setPosition(const QVector3D &position) |
Notifier signal:
void | positionChanged(const QVector3D &position) |
projectionMatrix : const QMatrix4x4
Access functions:
QMatrix4x4 | projectionMatrix() const |
Notifier signal:
void | projectionMatrixChanged(const QMatrix4x4 &projectionMatrix) |
projectionType : Qt3DCore::QCameraLens::ProjectionType
Access functions:
QCameraLens::ProjectionType | projectionType() const |
void | setProjectionType(QCameraLens::ProjectionType type) |
Notifier signal:
void | projectionTypeChanged(QCameraLens::ProjectionType projectionType) |
right : float
Access functions:
float | right() const |
void | setRight(float right) |
Notifier signal:
void | rightChanged(float right) |
top : float
Access functions:
float | top() const |
void | setTop(float top) |
Notifier signal:
void | topChanged(float top) |
Access functions:
QVector3D | upVector() const |
void | setUpVector(const QVector3D &upVector) |
Notifier signal:
void | upVectorChanged(const QVector3D &upVector) |
Access functions:
QVector3D | viewCenter() const |
void | setViewCenter(const QVector3D &viewCenter) |
Notifier signal:
void | viewCenterChanged(const QVector3D &viewCenter) |
Access functions:
QMatrix4x4 | viewMatrix() const |
Notifier signal:
void | viewMatrixChanged(const QMatrix4x4 &viewMatrix) |
viewVector : const QVector3D
Access functions:
QVector3D | viewVector() const |
Notifier signal:
void | viewVectorChanged(const QVector3D &viewVector) |
Member Function Documentation
QCamera::QCamera(QNode *parent = Q_NULLPTR)
Default constructs an instance of QCamera.
QCamera::~QCamera()
Destroys the instance of QCamera.
QCameraLens *QCamera::lens() const
void QCamera::pan(float angle)
void QCamera::pan(float angle, const QVector3D &axis)
void QCamera::panAboutViewCenter(float angle)
void QCamera::panAboutViewCenter(float angle, const QVector3D &axis)
QQuaternion QCamera::panRotation(float angle) const
void QCamera::roll(float angle)
void QCamera::rollAboutViewCenter(float angle)
QQuaternion QCamera::rollRotation(float angle) const
void QCamera::rotate(const QQuaternion &q)
void QCamera::rotateAboutViewCenter(const QQuaternion &q)
QQuaternion QCamera::rotation(float angle, const QVector3D &axis) const
void QCamera::tilt(float angle)
void QCamera::tiltAboutViewCenter(float angle)
QQuaternion QCamera::tiltRotation(float angle) const
void QCamera::translate(const QVector3D &vLocal, CameraTranslationOption option = TranslateViewCenter)
void QCamera::translateWorld(const QVector3D &vWorld, CameraTranslationOption option = TranslateViewCenter)
© 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.