CameraLens QML Type

提供用于为 3D 场景定义相机的投影矩阵。更多

Import Statement: import Qt3D.Render 2.9
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

保存当前摄像机镜头的顶平面。


© 2025 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.