summaryrefslogtreecommitdiffstats
path: root/src/extras/defaults/qtexturedmetalroughmaterial.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/extras/defaults/qtexturedmetalroughmaterial.h')
-rw-r--r--src/extras/defaults/qtexturedmetalroughmaterial.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extras/defaults/qtexturedmetalroughmaterial.h b/src/extras/defaults/qtexturedmetalroughmaterial.h
index 2a667aea8..c5c3fce33 100644
--- a/src/extras/defaults/qtexturedmetalroughmaterial.h
+++ b/src/extras/defaults/qtexturedmetalroughmaterial.h
@@ -53,7 +53,7 @@ class QT3DEXTRASSHARED_EXPORT QTexturedMetalRoughMaterial : public Qt3DRender::Q
{
Q_OBJECT
Q_PROPERTY(Qt3DRender::QAbstractTexture *baseColor READ baseColor WRITE setBaseColor NOTIFY baseColorChanged)
- Q_PROPERTY(Qt3DRender::QAbstractTexture *metallic READ metallic WRITE setMetallic NOTIFY metallicChanged)
+ Q_PROPERTY(Qt3DRender::QAbstractTexture *metalness READ metalness WRITE setMetalness NOTIFY metalnessChanged)
Q_PROPERTY(Qt3DRender::QAbstractTexture *roughness READ roughness WRITE setRoughness NOTIFY roughnessChanged)
Q_PROPERTY(Qt3DRender::QAbstractTexture *ambientOcclusion READ ambientOcclusion WRITE setAmbientOcclusion NOTIFY ambientOcclusionChanged)
Q_PROPERTY(Qt3DRender::QAbstractTexture *normal READ normal WRITE setNormal NOTIFY normalChanged)
@@ -65,7 +65,7 @@ public:
~QTexturedMetalRoughMaterial();
Qt3DRender::QAbstractTexture *baseColor() const;
- Qt3DRender::QAbstractTexture *metallic() const;
+ Qt3DRender::QAbstractTexture *metalness() const;
Qt3DRender::QAbstractTexture *roughness() const;
Qt3DRender::QAbstractTexture *ambientOcclusion() const;
Qt3DRender::QAbstractTexture *normal() const;
@@ -74,7 +74,7 @@ public:
public Q_SLOTS:
void setBaseColor(Qt3DRender::QAbstractTexture *baseColor);
- void setMetallic(Qt3DRender::QAbstractTexture *metallic);
+ void setMetalness(Qt3DRender::QAbstractTexture *metalness);
void setRoughness(Qt3DRender::QAbstractTexture *roughness);
void setAmbientOcclusion(Qt3DRender::QAbstractTexture *ambientOcclusion);
void setNormal(Qt3DRender::QAbstractTexture *normal);
@@ -83,7 +83,7 @@ public Q_SLOTS:
Q_SIGNALS:
void baseColorChanged(Qt3DRender::QAbstractTexture *baseColor);
- void metallicChanged(Qt3DRender::QAbstractTexture *metallic);
+ void metalnessChanged(Qt3DRender::QAbstractTexture *metalness);
void roughnessChanged(Qt3DRender::QAbstractTexture *roughness);
void ambientOcclusionChanged(Qt3DRender::QAbstractTexture *ambientOcclusion);
void normalChanged(Qt3DRender::QAbstractTexture *normal);