![]() |
Qt 6.x
The Qt SDK
|
#include <qquick3dprincipledmaterial_p.h>
Public Types | |
enum | Lighting { NoLighting = 0 , FragmentLighting } |
enum | BlendMode { SourceOver = 0 , Screen , Multiply } |
enum | AlphaMode { Default = 0 , Mask , Blend , Opaque } |
![]() | |
enum | CullMode { BackFaceCulling = 1 , FrontFaceCulling = 2 , NoCulling = 3 } |
enum | TextureChannelMapping { R = 0 , G , B , A } |
enum | DepthDrawMode { OpaqueOnlyDepthDraw = 0 , AlwaysDepthDraw , NeverDepthDraw , OpaquePrePassDepthDraw } |
Public Member Functions | |
QQuick3DPrincipledMaterial (QQuick3DObject *parent=nullptr) | |
~QQuick3DPrincipledMaterial () override | |
Lighting | lighting () const |
BlendMode | blendMode () const |
QColor | baseColor () const |
QQuick3DTexture * | baseColorMap () const |
QQuick3DTexture * | emissiveMap () const |
QVector3D | emissiveFactor () const |
QQuick3DTexture * | specularReflectionMap () const |
QQuick3DTexture * | specularMap () const |
float | specularTint () const |
float | specularAmount () const |
float | roughness () const |
QQuick3DTexture * | roughnessMap () const |
float | opacity () const |
QQuick3DTexture * | opacityMap () const |
QQuick3DTexture * | normalMap () const |
float | metalness () const |
QQuick3DTexture * | metalnessMap () const |
float | normalStrength () const |
QQuick3DTexture * | occlusionMap () const |
float | occlusionAmount () const |
AlphaMode | alphaMode () const |
float | alphaCutoff () const |
TextureChannelMapping | metalnessChannel () const |
TextureChannelMapping | roughnessChannel () const |
TextureChannelMapping | opacityChannel () const |
TextureChannelMapping | occlusionChannel () const |
float | pointSize () const |
float | lineWidth () const |
Q_REVISION (6, 2) QQuick3DTexture *heightMap() const | |
Q_REVISION (6, 2) TextureChannelMapping heightChannel() const | |
Q_REVISION (6, 2) float heightAmount() const | |
Q_REVISION (6, 2) int minHeightMapSamples() const | |
Q_REVISION (6, 2) int maxHeightMapSamples() const | |
Q_REVISION (6, 3) float clearcoatAmount() const | |
Q_REVISION (6, 3) QQuick3DTexture *clearcoatMap() const | |
Q_REVISION (6, 3) TextureChannelMapping clearcoatChannel() const | |
Q_REVISION (6, 3) float clearcoatRoughnessAmount() const | |
Q_REVISION (6, 3) TextureChannelMapping clearcoatRoughnessChannel() const | |
Q_REVISION (6, 3) QQuick3DTexture *clearcoatRoughnessMap() const | |
Q_REVISION (6, 3) QQuick3DTexture *clearcoatNormalMap() const | |
Q_REVISION (6, 3) float transmissionFactor() const | |
Q_REVISION (6, 3) QQuick3DTexture *transmissionMap() const | |
Q_REVISION (6, 3) TextureChannelMapping transmissionChannel() const | |
Q_REVISION (6, 3) float thicknessFactor() const | |
Q_REVISION (6, 3) QQuick3DTexture *thicknessMap() const | |
Q_REVISION (6, 3) const TextureChannelMapping &thicknessChannel() const | |
Q_REVISION (6, 3) float attenuationDistance() const | |
Q_REVISION (6, 3) const QColor &attenuationColor() const | |
Q_REVISION (6, 3) float indexOfRefraction() const | |
Q_REVISION (6, 5) bool vertexColorsEnabled() const | |
![]() | |
~QQuick3DMaterial () override | |
QQuick3DTexture * | lightProbe () const |
CullMode | cullMode () const |
DepthDrawMode | depthDrawMode () const |
![]() | |
Q_INVOKABLE | QObject (QObject *parent=nullptr) |
Constructs an object with parent object parent. | |
virtual | ~QObject () |
Destroys the object, deleting all its child objects. | |
virtual bool | event (QEvent *event) |
This virtual function receives events to an object and should return true if the event e was recognized and processed. | |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
Filters events if this object has been installed as an event filter for the watched object. | |
QString | objectName () const |
Q_WEAK_OVERLOAD void | setObjectName (const QString &name) |
Sets the object's name to name. | |
void | setObjectName (QAnyStringView name) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QBindable< QString > | bindableObjectName () |
bool | isWidgetType () const |
Returns true if the object is a widget; otherwise returns false . | |
bool | isWindowType () const |
Returns true if the object is a window; otherwise returns false . | |
bool | isQuickItemType () const |
Returns true if the object is a QQuickItem; otherwise returns false . | |
bool | signalsBlocked () const noexcept |
Returns true if signals are blocked; otherwise returns false . | |
bool | blockSignals (bool b) noexcept |
If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). | |
QThread * | thread () const |
Returns the thread in which the object lives. | |
void | moveToThread (QThread *thread) |
Changes the thread affinity for this object and its children. | |
int | startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer) |
This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds. | |
int | startTimer (std::chrono::milliseconds time, Qt::TimerType timerType=Qt::CoarseTimer) |
void | killTimer (int id) |
Kills the timer with timer identifier, id. | |
template<typename T > | |
T | findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object. | |
template<typename T > | |
QList< T > | findChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. | |
template<typename T > | |
QList< T > | findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
const QObjectList & | children () const |
Returns a list of child objects. | |
void | setParent (QObject *parent) |
Makes the object a child of parent. | |
void | installEventFilter (QObject *filterObj) |
Installs an event filter filterObj on this object. | |
void | removeEventFilter (QObject *obj) |
Removes an event filter object obj from this object. | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
bool | disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const |
bool | disconnect (const QObject *receiver, const char *member=nullptr) const |
void | dumpObjectTree () const |
Dumps a tree of children to the debug output. | |
void | dumpObjectInfo () const |
Dumps information about signal connections, etc. | |
bool | setProperty (const char *name, const QVariant &value) |
Sets the value of the object's name property to value. | |
bool | setProperty (const char *name, QVariant &&value) |
QVariant | property (const char *name) const |
Returns the value of the object's name property. | |
QList< QByteArray > | dynamicPropertyNames () const |
QBindingStorage * | bindingStorage () |
const QBindingStorage * | bindingStorage () const |
QObject * | parent () const |
Returns a pointer to the parent object. | |
bool | inherits (const char *classname) const |
Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false . | |
![]() | |
QQmlParserStatus () | |
virtual | ~QQmlParserStatus () |
virtual void | classBegin ()=0 |
Invoked after class creation, but before any properties have been set. | |
virtual void | componentComplete ()=0 |
Invoked after the root component that caused this instantiation has completed construction. | |
Protected Member Functions | |
QSSGRenderGraphObject * | updateSpatialNode (QSSGRenderGraphObject *node) override |
void | markAllDirty () override |
void | itemChange (ItemChange, const ItemChangeData &) override |
![]() | |
QQuick3DMaterial (QQuick3DObjectPrivate &dd, QQuick3DObject *parent=nullptr) | |
\qmltype Material \inherits Object3D \inqmlmodule QtQuick3D | |
QSSGRenderGraphObject * | updateSpatialNode (QSSGRenderGraphObject *node) override |
void | itemChange (ItemChange, const ItemChangeData &) override |
![]() | |
virtual QSSGRenderGraphObject * | updateSpatialNode (QSSGRenderGraphObject *node) |
virtual void | markAllDirty () |
virtual void | itemChange (ItemChange, const ItemChangeData &) |
QQuick3DObject (QQuick3DObjectPrivate &dd, QQuick3DObject *parent=nullptr) | |
void | classBegin () override |
Invoked after class creation, but before any properties have been set. | |
void | componentComplete () override |
Invoked after the root component that caused this instantiation has completed construction. | |
bool | isComponentComplete () const |
virtual void | preSync () |
![]() | |
QObject * | sender () const |
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr. | |
int | senderSignalIndex () const |
int | receivers (const char *signal) const |
Returns the number of receivers connected to the signal. | |
bool | isSignalConnected (const QMetaMethod &signal) const |
virtual void | timerEvent (QTimerEvent *event) |
This event handler can be reimplemented in a subclass to receive timer events for the object. | |
virtual void | childEvent (QChildEvent *event) |
This event handler can be reimplemented in a subclass to receive child events. | |
virtual void | customEvent (QEvent *event) |
This event handler can be reimplemented in a subclass to receive custom events. | |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
QObject (QObjectPrivate &dd, QObject *parent=nullptr) | |
Additional Inherited Members | |
![]() | |
static QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
\threadsafe | |
static QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot) |
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
\threadsafe | |
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
static bool | disconnect (const QMetaObject::Connection &) |
Disconnect a connection. | |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot) |
template<typename Func1 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero) |
![]() | |
QScopedPointer< QObjectData > | d_ptr |
![]() | |
template< class T > T | qobject_cast (const QObject *object) |
Returns the given object cast to type T if the object is of type T (or of a subclass); otherwise returns \nullptr. | |
template< typename T > T | qFindChildqFindChildren (const QObject *obj, const QString &name)() |
template< typename T > QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QString &name)() |
QObjectList | |
\macro Q_CLASSINFO(Name, Value) | |
Definition at line 26 of file qquick3dprincipledmaterial_p.h.
Enumerator | |
---|---|
Default | |
Mask | |
Blend | |
Opaque |
Definition at line 119 of file qquick3dprincipledmaterial_p.h.
Enumerator | |
---|---|
SourceOver | |
Screen | |
Multiply |
Definition at line 112 of file qquick3dprincipledmaterial_p.h.
Enumerator | |
---|---|
NoLighting | |
FragmentLighting |
Definition at line 106 of file qquick3dprincipledmaterial_p.h.
|
explicit |
Definition at line 717 of file qquick3dprincipledmaterial.cpp.
|
override |
Definition at line 721 of file qquick3dprincipledmaterial.cpp.
float QQuick3DPrincipledMaterial::alphaCutoff | ( | ) | const |
Definition at line 830 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DPrincipledMaterial::AlphaMode QQuick3DPrincipledMaterial::alphaMode | ( | ) | const |
Definition at line 825 of file qquick3dprincipledmaterial.cpp.
|
signal |
QColor QQuick3DPrincipledMaterial::baseColor | ( | ) | const |
Definition at line 735 of file qquick3dprincipledmaterial.cpp.
QQuick3DTexture * QQuick3DPrincipledMaterial::baseColorMap | ( | ) | const |
Definition at line 740 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DPrincipledMaterial::BlendMode QQuick3DPrincipledMaterial::blendMode | ( | ) | const |
Definition at line 730 of file qquick3dprincipledmaterial.cpp.
|
signal |
QVector3D QQuick3DPrincipledMaterial::emissiveFactor | ( | ) | const |
Definition at line 750 of file qquick3dprincipledmaterial.cpp.
QQuick3DTexture * QQuick3DPrincipledMaterial::emissiveMap | ( | ) | const |
Definition at line 745 of file qquick3dprincipledmaterial.cpp.
|
signal |
|
overrideprotectedvirtual |
Reimplemented from QQuick3DMaterial.
Definition at line 1432 of file qquick3dprincipledmaterial.cpp.
QQuick3DPrincipledMaterial::Lighting QQuick3DPrincipledMaterial::lighting | ( | ) | const |
Definition at line 725 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::lineWidth | ( | ) | const |
Definition at line 860 of file qquick3dprincipledmaterial.cpp.
|
signal |
|
overrideprotectedvirtual |
Reimplemented from QQuick3DObject.
Definition at line 890 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObject::markAllDirty().
Referenced by updateSpatialNode().
float QQuick3DPrincipledMaterial::metalness | ( | ) | const |
Definition at line 800 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::metalnessChannel | ( | ) | const |
Definition at line 845 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::metalnessMap | ( | ) | const |
Definition at line 805 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::normalMap | ( | ) | const |
Definition at line 795 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::normalStrength | ( | ) | const |
Definition at line 810 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::occlusionAmount | ( | ) | const |
Definition at line 820 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::occlusionChannel | ( | ) | const |
Definition at line 850 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::occlusionMap | ( | ) | const |
Definition at line 815 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::opacity | ( | ) | const |
Definition at line 785 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::opacityChannel | ( | ) | const |
Definition at line 840 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::opacityMap | ( | ) | const |
Definition at line 790 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::pointSize | ( | ) | const |
Definition at line 855 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
2 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
2 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
2 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
2 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
2 | |||
) | const |
|
signal |
|
signal |
|
signal |
|
signal |
|
slot |
|
slot |
|
slot |
|
slot |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const & |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const & |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
3 | |||
) | const |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
slot |
|
newslot |
|
newslot |
|
slot |
|
slot |
|
newslot |
|
slot |
|
slot |
|
newslot |
|
slot |
|
newslot |
|
slot |
|
signal |
|
signal |
|
signal |
|
signal |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
5 | |||
) | const |
|
slot |
|
signal |
float QQuick3DPrincipledMaterial::roughness | ( | ) | const |
Definition at line 775 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::roughnessChannel | ( | ) | const |
Definition at line 835 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::roughnessMap | ( | ) | const |
Definition at line 780 of file qquick3dprincipledmaterial.cpp.
|
signal |
|
slot |
Definition at line 1130 of file qquick3dprincipledmaterial.cpp.
References alphaCutoff, alphaCutoffChanged(), emit, and qFuzzyCompare().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1120 of file qquick3dprincipledmaterial.cpp.
References alphaMode, alphaModeChanged(), and emit.
Referenced by setMaterialProperties().
Definition at line 916 of file qquick3dprincipledmaterial.cpp.
References baseColorChanged(), and emit.
Referenced by setMaterialProperties().
|
slot |
Definition at line 926 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), baseColorMap, baseColorMapChanged(), emit, and setBaseColorMap().
Referenced by setBaseColorMap(), and setMaterialProperties().
|
slot |
Definition at line 906 of file qquick3dprincipledmaterial.cpp.
References blendMode, blendModeChanged(), and emit.
Definition at line 950 of file qquick3dprincipledmaterial.cpp.
References emissiveFactor, emissiveFactorChanged(), and emit.
Referenced by setMaterialProperties().
|
slot |
Definition at line 938 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emissiveMap, emissiveMapChanged(), emit, and setEmissiveMap().
Referenced by setEmissiveMap(), and setMaterialProperties().
|
slot |
Definition at line 896 of file qquick3dprincipledmaterial.cpp.
References emit, lighting, and lightingChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1189 of file qquick3dprincipledmaterial.cpp.
References emit, lineWidthChanged(), and qFuzzyCompare().
|
slot |
Definition at line 1064 of file qquick3dprincipledmaterial.cpp.
References emit, ensureNormalized(), metalnessChanged(), and qFuzzyCompare().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1140 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and metalnessChannelChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1075 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, metalnessMapChanged(), and setMetalnessMap().
Referenced by setMaterialProperties(), and setMetalnessMap().
|
slot |
Definition at line 1052 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, normalMap, normalMapChanged(), and setNormalMap().
Referenced by setMaterialProperties(), and setNormalMap().
|
slot |
Definition at line 1087 of file qquick3dprincipledmaterial.cpp.
References emit, ensureNormalized(), normalStrengthChanged(), and qFuzzyCompare().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1110 of file qquick3dprincipledmaterial.cpp.
References emit, occlusionAmount, occlusionAmountChanged(), and qFuzzyCompare().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1170 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and occlusionChannelChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1098 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, occlusionMap, occlusionMapChanged(), and setOcclusionMap().
Referenced by setMaterialProperties(), and setOcclusionMap().
|
slot |
Definition at line 1029 of file qquick3dprincipledmaterial.cpp.
References emit, ensureNormalized(), opacity, opacityChanged(), and qFuzzyCompare().
|
slot |
Definition at line 1160 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and opacityChannelChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1040 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, opacityMap, opacityMapChanged(), and setOpacityMap().
Referenced by setOpacityMap().
|
slot |
Definition at line 1180 of file qquick3dprincipledmaterial.cpp.
References emit, pointSizeChanged(), and qFuzzyCompare().
|
slot |
Definition at line 1006 of file qquick3dprincipledmaterial.cpp.
References emit, ensureNormalized(), qFuzzyCompare(), roughness, and roughnessChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1150 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and roughnessChannelChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1017 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, roughnessMap, roughnessMapChanged(), and setRoughnessMap().
Referenced by setMaterialProperties(), and setRoughnessMap().
|
slot |
Definition at line 995 of file qquick3dprincipledmaterial.cpp.
References emit, ensureNormalized(), qFuzzyCompare(), specularAmount, and specularAmountChanged().
|
slot |
Definition at line 972 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, setSpecularMap(), specularMap, and specularMapChanged().
Referenced by setSpecularMap().
|
slot |
Definition at line 960 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, setSpecularReflectionMap(), specularReflectionMap, and specularReflectionMapChanged().
Referenced by setSpecularReflectionMap().
|
slot |
Definition at line 984 of file qquick3dprincipledmaterial.cpp.
References emit, ensureNormalized(), qFuzzyCompare(), specularTint, and specularTintChanged().
float QQuick3DPrincipledMaterial::specularAmount | ( | ) | const |
Definition at line 770 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::specularMap | ( | ) | const |
Definition at line 760 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::specularReflectionMap | ( | ) | const |
Definition at line 755 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::specularTint | ( | ) | const |
Definition at line 765 of file qquick3dprincipledmaterial.cpp.
|
signal |
|
overrideprotectedvirtual |
Reimplemented from QQuick3DMaterial.
Definition at line 1250 of file qquick3dprincipledmaterial.cpp.
References QSSGRenderDefaultMaterial::alphaCutoff, QSSGRenderDefaultMaterial::alphaMode, QSSGRenderDefaultMaterial::attenuationColor, QSSGRenderDefaultMaterial::attenuationDistance, QSSGRenderDefaultMaterial::blendMode, QSSGRenderDefaultMaterial::bumpAmount, QSSGRenderDefaultMaterial::clearcoatAmount, QSSGRenderDefaultMaterial::clearcoatChannel, QSSGRenderDefaultMaterial::clearcoatMap, QSSGRenderDefaultMaterial::clearcoatNormalMap, QSSGRenderDefaultMaterial::clearcoatRoughnessAmount, QSSGRenderDefaultMaterial::clearcoatRoughnessChannel, QSSGRenderDefaultMaterial::clearcoatRoughnessMap, QSSGRenderDefaultMaterial::color, QSSGRenderDefaultMaterial::colorMap, QSSGRenderDefaultMaterial::emissiveColor, QSSGRenderDefaultMaterial::emissiveMap, QSSGRenderDefaultMaterial::fresnelPower, QQuick3DTexture::getRenderImage(), QSSGRenderDefaultMaterial::heightAmount, QSSGRenderDefaultMaterial::heightChannel, QSSGRenderDefaultMaterial::heightMap, QSSGRenderDefaultMaterial::ior, QSSGRenderDefaultMaterial::KGGX, QSSGRenderDefaultMaterial::lighting, QSSGRenderDefaultMaterial::lineWidth, markAllDirty(), QSSGRenderDefaultMaterial::maxHeightSamples, QSSGRenderDefaultMaterial::metalnessAmount, QSSGRenderDefaultMaterial::metalnessChannel, QSSGRenderDefaultMaterial::metalnessMap, QSSGRenderDefaultMaterial::minHeightSamples, QSSGRenderDefaultMaterial::normalMap, QSSGRenderDefaultMaterial::occlusionAmount, QSSGRenderDefaultMaterial::occlusionChannel, QSSGRenderDefaultMaterial::occlusionMap, QSSGRenderDefaultMaterial::opacity, QSSGRenderDefaultMaterial::opacityChannel, QSSGRenderDefaultMaterial::opacityMap, QSSGRenderDefaultMaterial::pointSize, QSSGRenderDefaultMaterial::roughnessChannel, QSSGRenderDefaultMaterial::roughnessMap, QSSGRenderDefaultMaterial::specularAmount, QSSGRenderDefaultMaterial::specularMap, QSSGRenderDefaultMaterial::specularModel, QSSGRenderDefaultMaterial::specularReflection, QSSGRenderDefaultMaterial::specularRoughness, QSSGRenderDefaultMaterial::specularTint, QSSGRenderDefaultMaterial::thicknessChannel, QSSGRenderDefaultMaterial::thicknessFactor, QSSGRenderDefaultMaterial::thicknessMap, QVector4D::toVector3D(), QSSGRenderDefaultMaterial::transmissionChannel, QSSGRenderDefaultMaterial::transmissionFactor, QSSGRenderDefaultMaterial::transmissionMap, QQuick3DMaterial::updateSpatialNode(), and QSSGRenderDefaultMaterial::vertexColorsEnabled.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setAlphaCutoff().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setAlphaMode().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setBaseColorMap().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setBlendMode().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
read |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setEmissiveFactor().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setEmissiveMap().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setLighting().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setNormalMap().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setOcclusionAmount().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setOcclusionMap().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setOpacity().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setOpacityMap().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setRoughness().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setRoughnessMap().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularAmount().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularMap().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularReflectionMap().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularTint().
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 390 of file qquick3dprincipledmaterial_p.h.