Spec-Zone.ru › Qt

CameraLens QML Type

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

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

Component3D

  • List of all members, including inherited members

Properties

  • aspectRatio : real
  • bottom : real
  • farPlane : real
  • fieldOfView : real
  • left : real
  • nearPlane : real
  • projectionMatrix : matrix4x4
  • projectionType : enumeration
  • right : real
  • top : real

Detailed Description

Property Documentation

aspectRatio : real

Holds the current aspect ratio of the camera lens.

bottom : real

Holds the current bottom plane of the camera lens.

farPlane : real

Holds the current near plane of the camera lens.

fieldOfView : real

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

left : real

Holds the current left plane of the camera lens.

nearPlane : real

Holds the current near plane of the camera lens.

[read-only] projectionMatrix : matrix4x4

Holds the current projection matrix of the camera lens.

Note: This will set the projection type to Qt3DRender::QCameraLens::CustomProjection and thus ignore all other camera parameters that might have been specified.

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 plane of the camera lens.

top : real

Holds the current top plane of the camera lens.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qt3d-render-cameralens.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API