Camera QML Type

Defines a view point through which the scene will be rendered. More...

Import Statement: import Qt3D.Render 2.0
Since: Qt 5.5
Instantiates: QCamera
Inherits:

Entity

Properties

Detailed Description

Property Documentation

aspectRatio : float

The current aspect ratio.


bottom : float

The current bottom of the camera.


farPlane : float

The current camera far plane.


fieldOfView : float

The current field of view.


left : float

The current left of the camera.


nearPlane : float

The current camera near plane.


position : vector3d

The camera's position.


projectionType : enumeration

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

ConstantDescription
CameraLens.OrthographicProjectionOrthographic projection
CameraLens.PerspectiveProjectionPerspective projection

right : float

The current right of the camera.


top : float

The current top of the camera.


upVector : vector3d

The camera's up vector.


viewCenter : vector3d

The camera's view center.


viewMatrix : matrix4x4

The camera's view matrix.


viewVector : vector3d

The camera's view vector.