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

Qt 5.6.3 Reference Documentation

# CameraLens QML Type

Provides the projection matrix that is used to define a Camera for 3D scene. More...

Import Statement: | import Qt3D.Core 2.0
Since: | Qt 5.5
Instantiates: | QCameraLens
Inherits: | Component3D

- List of all members, including inherited members

## Properties

- aspectRatio : float
- bottom : float
- farPlane : float
- fieldOfView : float
- left : float
- nearPlane : float
- projectionMatrix : matrix4x4
- projectionType : enumeration
- right : float
- top : float

## Detailed Description

## Property Documentation

aspectRatio : float

bottom : float

farPlane : float

fieldOfView : float

left : float

nearPlane : float

[read-only] projectionMatrix : matrix4x4

projectionType : enumeration

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

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

right : float

top : float