QMetalRoughMaterial

PyQt5.Qt3DExtras.QMetalRoughMaterial

Inherits from QMaterial.

Inherited by QTexturedMetalRoughMaterial.

Description

The QMetalRoughMaterial provides a default implementation of PBR lighting.

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

Methods

__init__(parent: QNode = None)

Constructs a new QMetalRoughMaterial instance with parent object parent.


ambientOcclusion() → Any

baseColor() → Any

See also

setBaseColor().


metalness() → Any

See also

setMetalness().


normal() → Any

See also

setNormal().


roughness() → Any

See also

setRoughness().


setAmbientOcclusion(Any)

See also

ambientOcclusion().


setBaseColor(Any)

See also

baseColor().


setMetalness(Any)

See also

metalness().


setNormal(Any)

See also

normal().


setRoughness(Any)

See also

roughness().


setTextureScale(float)

See also

textureScale().


textureScale() → float

See also

setTextureScale().

Signals

ambientOcclusionChanged(Any)

TODO


baseColorChanged(Any)

TODO


metalnessChanged(Any)

TODO


normalChanged(Any)

TODO


roughnessChanged(Any)

TODO


textureScaleChanged(float)

TODO