Kuesa::MorphController allows to control the morph target weights of an entity. Though the glTF 2.0 specifications do not impose a limit on the number of weights, we have limited it to 8. More...
Header: | #include <Kuesa/MorphController> |
Since: | Kuesa 1.1 |
Instantiated By: | MorphController |
This class was introduced in Kuesa 1.1.
int | count() const |
void | setWeight0(float weight0) |
void | setWeight1(float weight1) |
void | setWeight2(float weight2) |
void | setWeight3(float weight3) |
void | setWeight4(float weight4) |
void | setWeight5(float weight5) |
void | setWeight6(float weight6) |
void | setWeight7(float weight7) |
float | weight0() const |
float | weight1() const |
float | weight2() const |
float | weight3() const |
float | weight4() const |
float | weight5() const |
float | weight6() const |
float | weight7() const |
void | countChanged(int count) |
void | weight0Changed(float weight0) |
void | weight1Changed(float weight1) |
void | weight2Changed(float weight2) |
void | weight3Changed(float weight3) |
void | weight4Changed(float weight4) |
void | weight5Changed(float weight5) |
void | weight6Changed(float weight6) |
void | weight7Changed(float weight7) |
The weight values are set to 0.0f by default.
Note: Given this class subclasses Qt3DRender::QShaderData, its properties can be exposed as uniforms to a material.
Holds the actual number of weights being handled by the MorphController.
Access functions:
int | count() const |
Notifier signal:
void | countChanged(int count) |
Specifies the weight value at index 0.
Access functions:
float | weight0() const |
void | setWeight0(float weight0) |
Notifier signal:
void | weight0Changed(float weight0) |
Specifies the weight value at index 1.
Access functions:
float | weight1() const |
void | setWeight1(float weight1) |
Notifier signal:
void | weight1Changed(float weight1) |
Specifies the weight value at index 2.
Access functions:
float | weight2() const |
void | setWeight2(float weight2) |
Notifier signal:
void | weight2Changed(float weight2) |
Specifies the weight value at index 3.
Access functions:
float | weight3() const |
void | setWeight3(float weight3) |
Notifier signal:
void | weight3Changed(float weight3) |
Specifies the weight value at index 4.
Access functions:
float | weight4() const |
void | setWeight4(float weight4) |
Notifier signal:
void | weight4Changed(float weight4) |
Specifies the weight value at index 5.
Access functions:
float | weight5() const |
void | setWeight5(float weight5) |
Notifier signal:
void | weight5Changed(float weight5) |
Specifies the weight value at index 6.
Access functions:
float | weight6() const |
void | setWeight6(float weight6) |
Notifier signal:
void | weight6Changed(float weight6) |
Specifies the weight value at index 7.
Access functions:
float | weight7() const |
void | setWeight7(float weight7) |
Notifier signal:
void | weight7Changed(float weight7) |