diff options
author | Topi Reinio <topi.reinio@digia.com> | 2015-04-28 13:05:39 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@digia.com> | 2015-04-29 07:33:44 +0000 |
commit | 2d5f95bacf7722b2546f6c40e4ce236c75ae379d (patch) | |
tree | 1145523e70914a1990a58c4ce0fedfedfb1a0805 /src/core/core-components/qcameralens.cpp | |
parent | 21c9dfef8bf81f7a1910d5d07baf9fdab39750a4 (diff) |
Doc: Add Qt3D QML module and QML type documentation skeletonv5.5.0-beta1
Add documentation structure and comment blocks containing \qmltype,
\qmlproperty, etc. commands for Qt3D QML module.
The actual documentation (descriptions) are still missing, but this
allows the QML type documentation to be generated.
Change-Id: Id0e1afc89c13d963c950c142a3407aa70702562f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/core-components/qcameralens.cpp')
-rw-r--r-- | src/core/core-components/qcameralens.cpp | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/core/core-components/qcameralens.cpp b/src/core/core-components/qcameralens.cpp index 0d5f6ea49..fde9d16ad 100644 --- a/src/core/core-components/qcameralens.cpp +++ b/src/core/core-components/qcameralens.cpp @@ -274,4 +274,58 @@ QMatrix4x4 QCameraLens::projectionMatrix() const } // Qt3D +/*! + \qmltype CameraLens + \instantiates Qt3D::QCameraLens + \inqmlmodule Qt3D + \inherits Component3D + \since 5.5 +*/ + +/*! + \qmlproperty enumeration Qt3D::CameraLens::projectionType + + Holds the type of the camera projection (orthogonal or perspective). + + \value CameraLens.OrthogonalProjection Orthogonal projection + \value CameraLens.PerspectiveProjection Perspective projection +*/ + +/*! + \qmlproperty float Qt3D::CameraLens::nearPlane +*/ + +/*! + \qmlproperty float Qt3D::CameraLens::farPlane +*/ + +/*! + \qmlproperty float Qt3D::CameraLens::fieldOfView +*/ + +/*! + \qmlproperty float Qt3D::CameraLens::aspectRatio +*/ + +/*! + \qmlproperty float Qt3D::CameraLens::left +*/ + +/*! + \qmlproperty float Qt3D::CameraLens::right +*/ + +/*! + \qmlproperty float Qt3D::CameraLens::bottom +*/ + +/*! + \qmlproperty float Qt3D::CameraLens::top +*/ + +/*! + \qmlproperty matrix4x4 Qt3D::CameraLens::projectionMatrix + \readonly +*/ + QT_END_NAMESPACE |