QMetalRoughMaterial

The QMetalRoughMaterial provides a default implementation of PBR lighting. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial

Synopsis

Functions

Detailed Description

This material uses an effect with a single render pass approach and performs per fragment lighting. Techniques are provided for OpenGL 3 and OpenGL ES 3.

class PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial([parent=None])
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QMetalRoughMaterial instance with parent object parent.

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.ambientOcclusion()
Return type

object

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.ambientOcclusionChanged(ambientOcclusion)
Parameters

ambientOcclusion – object

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.baseColor()
Return type

object

See also

setBaseColor()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.baseColorChanged(baseColor)
Parameters

baseColor – object

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.metalness()
Return type

object

See also

setMetalness()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.metalnessChanged(metalness)
Parameters

metalness – object

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.normal()
Return type

object

See also

setNormal()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.normalChanged(normal)
Parameters

normal – object

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.roughness()
Return type

object

See also

setRoughness()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.roughnessChanged(roughness)
Parameters

roughness – object

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.setAmbientOcclusion(ambientOcclusion)
Parameters

ambientOcclusion – object

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.setBaseColor(baseColor)
Parameters

baseColor – object

See also

baseColor()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.setMetalness(metalness)
Parameters

metalness – object

See also

metalness()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.setNormal(normal)
Parameters

normal – object

See also

normal()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.setRoughness(roughness)
Parameters

roughness – object

See also

roughness()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.setTextureScale(textureScale)
Parameters

textureScale – float

See also

textureScale()

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.textureScale()
Return type

float

PySide6.Qt3DExtras.Qt3DExtras.QMetalRoughMaterial.textureScaleChanged(textureScale)
Parameters

textureScale – float