![]() |
Qt 6.x
The Qt SDK
|
Go to the source code of this file.
Functions | |
static float | genRandom (float from, float to, QRandomGenerator *rgen) |
static QVector3D | genRandom (const QVector3D &from, const QVector3D &to, bool proportional, QRandomGenerator *rgen) |
static QVector4D | genRandom (const QVector4D &from, const QVector4D &to, bool proportional, QRandomGenerator *rgen) |
static QColor | genRandom (const QColor &from, const QColor &to, bool proportional, QQuick3DRandomInstancing::ColorModel colorModel, QRandomGenerator *rgen) |
|
static |
Definition at line 336 of file randominstancing.cpp.
References QColor::fromHslF(), QColor::fromHsvF(), QColor::fromRgbF(), genRandom(), QColor::getHslF(), QColor::getHsvF(), QColor::getRgbF(), QQuick3DRandomInstancing::HSL, QQuick3DRandomInstancing::HSV, QQuick3DRandomInstancing::RGB, and v1.
|
static |
Definition at line 318 of file randominstancing.cpp.
References QRandomGenerator::bounded(), genRandom(), QVector3D::x(), QVector3D::y(), and QVector3D::z().
|
static |
Definition at line 327 of file randominstancing.cpp.
References QRandomGenerator::bounded(), genRandom(), QVector4D::w(), QVector4D::x(), QVector4D::y(), and QVector4D::z().
|
inlinestatic |
Definition at line 312 of file randominstancing.cpp.
References QRandomGenerator::bounded().
Referenced by genRandom(), genRandom(), and genRandom().