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
See also
- baseColor() → Any
See also
- metalness() → Any
See also
- normal() → Any
See also
- roughness() → Any
See also
- setAmbientOcclusion(Any)
See also
- setBaseColor(Any)
See also
- setMetalness(Any)
See also
- setNormal(Any)
See also
- setRoughness(Any)
See also
- setTextureScale(float)
See also
- textureScale() → float
See also
Signals露
- ambientOcclusionChanged(Any)
TODO
- baseColorChanged(Any)
TODO
- metalnessChanged(Any)
TODO
- normalChanged(Any)
TODO
- roughnessChanged(Any)
TODO
- textureScaleChanged(float)
TODO