CameraLens QML Type
Provides the projection matrix that is used to define a Camera for 3D scene. More...
Import Statement: | import Qt3D.Render 2.15 |
Since: | Qt 5.5 |
Inherits: |
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
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.
Holds the type of the camera projection.
- CameraLens.OrthographicProjection
- CameraLens.PerspectiveProjection
- CameraLens.FrustumProjection
- CameraLens.CustomProjection
See also Qt3DRender::QCameraLens::ProjectionType.