Camera QML Type | Qt 3D 5.6

Qt 5.6 | Qt 3D | QML Types | Camera QML Type

Qt 5.6.2 Reference Documentation

# Camera QML Type

Import Statement: | import Qt3D.Core 2.0
Since: | Qt 5.5
Instantiates: | QCamera
Inherits: | Entity

- List of all members, including inherited members

## Properties

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

## Detailed Description

## Property Documentation

aspectRatio : float

bottom : float

farPlane : float

fieldOfView : float

left : float

nearPlane : float

position : vector3d

[read-only] projectionMatrix : matrix4x4

projectionType : enumeration

Holds the type of the camera projection (orthogonal or perspective).

Constant | Description
--- | ---
`CameraLens.OrthographicProjection` | Orthographic projection
`CameraLens.PerspectiveProjection` | Perspective projection

right : float

top : float

upVector : vector3d

viewCenter : vector3d

viewMatrix : matrix4x4

viewVector : vector3d