diff options
Diffstat (limited to 'src/input/frontend/qaxisaccumulator.cpp')
-rw-r--r-- | src/input/frontend/qaxisaccumulator.cpp | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/input/frontend/qaxisaccumulator.cpp b/src/input/frontend/qaxisaccumulator.cpp index 758faaa37..5f10d81a7 100644 --- a/src/input/frontend/qaxisaccumulator.cpp +++ b/src/input/frontend/qaxisaccumulator.cpp @@ -39,6 +39,7 @@ #include "qaxisaccumulator.h" #include "qaxisaccumulator_p.h" + #include <Qt3DInput/qaxis.h> #include <Qt3DCore/qnodecreatedchange.h> #include <Qt3DCore/qpropertyupdatedchange.h> @@ -88,7 +89,7 @@ namespace Qt3DInput { */ /*! - \qmlproperty int Qt3D.Inpit::Axis::value + \qmlproperty int Qt3D.Input::Axis::value \readonly Holds the value accumulated from the sourceAxis. @@ -183,11 +184,13 @@ QAxisAccumulator::SourceAxisType QAxisAccumulator::sourceAxisType() const /*! \qmlproperty real Qt3D.Input::AxisAccumulator::value - The accumulated (integrated) value. + The amount to scale the axis value by when accumulating. This can be + thought of as the maximum velocity or acceleration the axis can + control. */ /*! - \return the accumulated (integrated) value. + Returns the accumulated (integrated) value. */ float QAxisAccumulator::value() const { @@ -208,14 +211,6 @@ float QAxisAccumulator::velocity() const } /*! - \qmlproperty real Qt3D.Input::AxisAccumulator::value - - The amount to scale the axis value by when accumulating. This can be - thought of as the maximum velocity or acceleration the axis can - control. - */ - -/*! The amount to scale the axis value by when accumulating. This can be thought of as the maximum velocity or acceleration the axis can control. @@ -254,7 +249,7 @@ void QAxisAccumulator::setSourceAxis(QAxis *sourceAxis) } /*! - Sets how the accumulator treats the values originating from the source axis. + Sets how the accumulator treats the values originating from the \a sourceAxisType. */ void QAxisAccumulator::setSourceAxisType(QAxisAccumulator::SourceAxisType sourceAxisType) { |