![]() |
Qt 6.x
The Qt SDK
|
Go to the source code of this file.
Functions | |
static QT_BEGIN_NAMESPACE qreal | sign (qreal a) |
\qmltype Friction \instantiates QQuickFrictionAffector \inqmlmodule QtQuick.Particles\inherits Affector | |
Variables | |
static const qreal | epsilon = 0.00001 |
|
static |
\qmltype Friction \instantiates QQuickFrictionAffector \inqmlmodule QtQuick.Particles\inherits Affector
For applying friction proportional to the particle's current velocity.
\qmlproperty real QtQuick.Particles::Friction::factor
A drag will be applied to moving objects which is this factor of their current velocity.
\qmlproperty real QtQuick.Particles::Friction::threshold
The drag will only be applied to objects with a velocity above the threshold velocity. The drag applied will bring objects down to the threshold velocity, but no further.
The default threshold is 0
Definition at line 31 of file qquickfriction.cpp.
|
static |
Definition at line 36 of file qquickfriction.cpp.
Referenced by QQuickFrictionAffector::affectParticle(), epsilonCompare(), QQuickMatrix4x4ValueType::fuzzyEquals(), QQuickQuaternionValueType::fuzzyEquals(), QQuickVector2DValueType::fuzzyEquals(), QQuickVector3DValueType::fuzzyEquals(), QQuickVector4DValueType::fuzzyEquals(), QQuaternion::getEulerAngles(), QPainterPath::operator==(), qt_find_best_framerate_match(), qt_find_supported_framerate_range(), qt_format_supports_framerate(), and QSSGRenderRay::triangleIntersect().