diff options
author | Mike Krus <mike.krus@kdab.com> | 2017-03-29 20:15:49 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-03-29 19:25:25 +0000 |
commit | a28735696cc09c2462a7490b77ccf4a8e7053ea6 (patch) | |
tree | e160a8788190b53fc1a321e8824627fc6e10897d | |
parent | c5d3cb7d018f0d96246ae5c6dd3c55dfff61e922 (diff) |
Fix LevelOfDetails documentation
Change-Id: Ib283fc87b4056e6c1073879002d8e85b2d3af22e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
-rw-r--r-- | src/render/frontend/qlevelofdetail.cpp | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/render/frontend/qlevelofdetail.cpp b/src/render/frontend/qlevelofdetail.cpp index e806b8401..df169876e 100644 --- a/src/render/frontend/qlevelofdetail.cpp +++ b/src/render/frontend/qlevelofdetail.cpp @@ -141,7 +141,7 @@ QLevelOfDetailPrivate::QLevelOfDetailPrivate() id: lod camera: mainCamera thresholds: [20, 35, 50, 65] - thresholdType: LevelOfDetail.DistanceToCamera + thresholdType: LevelOfDetail.DistanceToCameraThreshold } CylinderMesh { @@ -165,8 +165,8 @@ QLevelOfDetailPrivate::QLevelOfDetailPrivate() * * Specifies how the values in the thresholds are interpreted * - * \value DistanceToCamera Distance from the entity to the selected camera - * \value ProjectedScreenPixelSize Size of the entity when projected on the + * \value DistanceToCameraThreshold Distance from the entity to the selected camera + * \value ProjectedScreenPixelSizeThreshold Size of the entity when projected on the * screen as seen from the selected camera, expressed in number of * pixels on the side of the bounding square in screen space. */ @@ -177,8 +177,8 @@ QLevelOfDetailPrivate::QLevelOfDetailPrivate() * Specifies how the values in the thresholds are interpreted * * \list - * \li DistanceToCamera Distance from the entity to the selected camera - * \li ProjectedScreenPixelSize Size of the entity when projected on the + * \li DistanceToCameraThreshold Distance from the entity to the selected camera + * \li ProjectedScreenPixelSizeThreshold Size of the entity when projected on the * screen as seen from the selected camera, expressed in number of * pixels on the side of the bounding square in screen space. * \endlist @@ -257,11 +257,11 @@ QLevelOfDetailPrivate::QLevelOfDetailPrivate() * Array of range values as float point numbers. The value for the most detailed representation * should be specified first. * - * If LevelOfDetail::thresholdType is set to LevelOfDetail.Distance, values should be specified in - * ascending order, in camera space coordinates + * If LevelOfDetail::thresholdType is set to LevelOfDetail.DistanceToCameraThreshold, values should + * be specified in ascending order, in camera space coordinates * - * If LevelOfDetail::thresholdType is set to LevelOfDetail.ProjectedScreenPixelSize, values should - * be specified in descending order, in screen space pixels. + * If LevelOfDetail::thresholdType is set to LevelOfDetail.ProjectedScreenPixelSizeThreshold, values + * should be specified in descending order, in screen space pixels. */ /*! @@ -270,10 +270,12 @@ QLevelOfDetailPrivate::QLevelOfDetailPrivate() * Array of range values as float point numbers. The value for the most detailed representation * should be specified first. * - * If Qt3DRender::QLevelOfDetail::thresholdType is set to Qt3DRender::QLevelOfDetail::Distance, values should be specified in + * If Qt3DRender::QLevelOfDetail::thresholdType is set to + * Qt3DRender::QLevelOfDetail::DistanceToCameraThreshold, values should be specified in * ascending order, in camera space coordinates * - * If Qt3DRender::QLevelOfDetail::thresholdType is set to Qt3DRender::QLevelOfDetail::ProjectedScreenPixelSize, values should + * If Qt3DRender::QLevelOfDetail::thresholdType is set to + * Qt3DRender::QLevelOfDetail::ProjectedScreenPixelSizeThreshold, values should * be specified in descending order, in screen space pixels. * * \sa Qt3DRender::QLevelOfDetail::ThresholdType |