Callback interface to expose named parameter values to an effect.
More...
#include <parameters.h>
|
| virtual double | getNumberParameter (const QString &name) |
| | Return a numeric value for parameter name.
|
| virtual QString | getStringParameter (const QString &name) |
| | Return a string value for parameter name.
|
| virtual QVariantMap | getRectParameter (const QString &name) |
| | Return a rectangle value for parameter name.
|
Callback interface to expose named parameter values to an effect.
An instance of this class should be passed to WebVfx::createEffects() to provide the parameters for that Effects instance.
◆ getNumberParameter()
| double WebVfx::Parameters::getNumberParameter |
( |
const QString & | name | ) |
|
|
virtual |
Return a numeric value for parameter name.
- Parameters
-
◆ getRectParameter()
| QVariantMap WebVfx::Parameters::getRectParameter |
( |
const QString & | name | ) |
|
|
virtual |
Return a rectangle value for parameter name.
Rectangle is a map of doubles with the following keys:
- x
- y
- width
- height
- opacity
- Parameters
-
◆ getStringParameter()
| QString WebVfx::Parameters::getStringParameter |
( |
const QString & | name | ) |
|
|
virtual |
Return a string value for parameter name.
- Parameters
-
The documentation for this class was generated from the following files:
- webvfx/parameters.h
- webvfx/parameters.cpp