class QGoochMaterial

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QGoochMaterial

Synopsis

Properties

Methods

Slots

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property alphaᅟ: float
Access functions:
property betaᅟ: float
Access functions:
property coolᅟ: QColor
Access functions:
property diffuseᅟ: QColor
Access functions:
property shininessᅟ: float
Access functions:
property specularᅟ: QColor
Access functions:
property warmᅟ: QColor
Access functions:
__init__([parent=None])
Parameters:

parentQNode

alpha()
Return type:

float

Getter of property alphaᅟ .

alphaChanged(alpha)
Parameters:

alpha – float

Notification signal of property alphaᅟ .

beta()
Return type:

float

Getter of property betaᅟ .

betaChanged(beta)
Parameters:

beta – float

Notification signal of property betaᅟ .

cool()
Return type:

QColor

Getter of property coolᅟ .

coolChanged(cool)
Parameters:

coolQColor

Notification signal of property coolᅟ .

diffuse()
Return type:

QColor

Getter of property diffuseᅟ .

diffuseChanged(diffuse)
Parameters:

diffuseQColor

Notification signal of property diffuseᅟ .

setAlpha(alpha)
Parameters:

alpha – float

Setter of property alphaᅟ .

setBeta(beta)
Parameters:

beta – float

Setter of property betaᅟ .

setCool(cool)
Parameters:

coolQColor

Setter of property coolᅟ .

setDiffuse(diffuse)
Parameters:

diffuseQColor

Setter of property diffuseᅟ .

setShininess(shininess)
Parameters:

shininess – float

Setter of property shininessᅟ .

setSpecular(specular)
Parameters:

specularQColor

Setter of property specularᅟ .

setWarm(warm)
Parameters:

warmQColor

Setter of property warmᅟ .

shininess()
Return type:

float

Getter of property shininessᅟ .

shininessChanged(shininess)
Parameters:

shininess – float

Notification signal of property shininessᅟ .

specular()
Return type:

QColor

Getter of property specularᅟ .

specularChanged(specular)
Parameters:

specularQColor

Notification signal of property specularᅟ .

warm()
Return type:

QColor

Getter of property warmᅟ .

warmChanged(warm)
Parameters:

warmQColor

Notification signal of property warmᅟ .