Obsolete Members for Camera | Qt 3D 5.12.4

Qt 5.12 | Qt 3D | QML Types | Obsolete Members for Camera

Qt 5.12.4 Reference Documentation

# Obsolete Members for Camera

The following members of QML type Camera are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Properties

- aspectRatio : real
- bottom : real
- farPlane : real
- fieldOfView : real
- left : real
- nearPlane : real
- position : vector3d
- projectionMatrix : matrix4x4
- projectionType : enumeration
- right : real
- top : real
- upVector : vector3d
- viewCenter : vector3d
- viewVector : vector3d

## Property Documentation

aspectRatio : real

Holds the current aspect ratio of the camera.

bottom : real

Holds the current bottom of the camera.

farPlane : real

Holds the current camera far plane of the camera.

fieldOfView : real

Holds the current field of view of the camera in degrees.

left : real

Holds the current left of the camera.

nearPlane : real

Holds the current camera near plane of the camera.

position : vector3d

Holds the current position of the camera in coordinates relative to the parent entity.

projectionMatrix : matrix4x4

Holds the current projection matrix of the camera.

projectionType : enumeration

Holds the type of the camera projection.

- CameraLens.OrthographicProjection
- CameraLens.PerspectiveProjection
- CameraLens.FrustumProjection
- CameraLens.CustomProjection

See also Qt3DRender::QCameraLens::ProjectionType.

right : real

Holds the current right of the camera.

top : real

Holds the current top of the camera.

upVector : vector3d

Holds the current up vector of the camera in coordinates relative to the parent entity.

[read-only] viewCenter : vector3d

Holds the current view center of the camera in coordinates relative to the parent entity.

[read-only] viewVector : vector3d

Holds the camera's view vector in coordinates relative to the parent entity.