summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <mbrasser@ford.com>2019-08-28 10:35:03 -0500
committerMichael Brasser <mbrasser@ford.com>2019-08-29 17:33:51 -0500
commit151694c095e05e1c735f96f60c799cc717e93dc1 (patch)
tree2e38452d4065ec863623457c47363ab968715f63
parent2a72abee721c24638e6a7164379117d887b74aab (diff)
Update MetalRoughMaterial documention
These properties are not strongly typed. Change-Id: I02c8b793cc7b7f9e88a8b8598ea27efa93fa0468 Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--src/extras/defaults/qmetalroughmaterial.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extras/defaults/qmetalroughmaterial.cpp b/src/extras/defaults/qmetalroughmaterial.cpp
index 572bfecfd..a969593db 100644
--- a/src/extras/defaults/qmetalroughmaterial.cpp
+++ b/src/extras/defaults/qmetalroughmaterial.cpp
@@ -212,7 +212,7 @@ QMetalRoughMaterial::~QMetalRoughMaterial()
color value or a texture. By default the value of this property is "grey".
*/
/*!
- \qmlproperty color Qt3D.Extras::MetalRoughMaterial::baseColor
+ \qmlproperty variant Qt3D.Extras::MetalRoughMaterial::baseColor
Holds the current base color of the material. This can be either a plain
color value or a texture. By default the value of this property is "grey".
@@ -232,7 +232,7 @@ QVariant QMetalRoughMaterial::baseColor() const
property is 0.
*/
/*!
- \qmlproperty real Qt3D.Extras::MetalRoughMaterial::metalness
+ \qmlproperty variant Qt3D.Extras::MetalRoughMaterial::metalness
Holds the current metalness level of the material, as a value between
0 (purely dielectric, the default) and 1 (purely metallic). This can be
@@ -253,7 +253,7 @@ QVariant QMetalRoughMaterial::metalness() const
0.
*/
/*!
- \qmlproperty real Qt3D.Extras::MetalRoughMaterial::roughness
+ \qmlproperty variant Qt3D.Extras::MetalRoughMaterial::roughness
Holds the current roughness level of the material. This can be either a
plain uniform value or a texture. By default the value of this property is