本页内容

CameraLens QML Type

提供用于定义 3D 场景中摄像机的投影矩阵。更多...

Import Statement: import Qt3D.Render 2.12
In C++: QCameraLens
Inherits:

Component3D

Status: Deprecated

此类型已弃用。我们强烈建议在新代码中不要使用它。

属性

详细说明

物业文件

aspectRatio : real

保留相机镜头的当前宽高比。

bottom : real

用于固定相机镜头的当前底平面。

farPlane : real

表示相机镜头的当前近平面。

fieldOfView : real

以度为单位存储相机镜头的当前视场角。

left : real

保存相机镜头当前的左平面。

nearPlane : real

表示相机镜头的当前近平面。

projectionMatrix : matrix4x4 [read-only]

保存相机镜头的当前投影矩阵。

注意:这将 把投影类型设置为Qt3DRender::QCameraLens::CustomProjection ,因此会忽略可能已指定的所有其他相机参数。

projectionType : enumeration

存储相机投影的类型。

另请参阅 Qt3DRender::QCameraLens::ProjectionType 。

right : real

保存摄像机镜头的当前右坐标系。

top : real

用于固定相机镜头的当前顶平面。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.