Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuick3DPrincipledMaterial Class Reference

#include <qquick3dprincipledmaterial_p.h>

+ Inheritance diagram for QQuick3DPrincipledMaterial:
+ Collaboration diagram for QQuick3DPrincipledMaterial:

Public Types

enum  Lighting { NoLighting = 0 , FragmentLighting }
 
enum  BlendMode { SourceOver = 0 , Screen , Multiply }
 
enum  AlphaMode { Default = 0 , Mask , Blend , Opaque }
 
- Public Types inherited from QQuick3DMaterial
enum  CullMode { BackFaceCulling = 1 , FrontFaceCulling = 2 , NoCulling = 3 }
 
enum  TextureChannelMapping { R = 0 , G , B , A }
 
enum  DepthDrawMode { OpaqueOnlyDepthDraw = 0 , AlwaysDepthDraw , NeverDepthDraw , OpaquePrePassDepthDraw }
 

Public Slots

void setLighting (QQuick3DPrincipledMaterial::Lighting lighting)
 
void setBlendMode (QQuick3DPrincipledMaterial::BlendMode blendMode)
 
void setBaseColor (QColor baseColor)
 
void setBaseColorMap (QQuick3DTexture *baseColorMap)
 
void setEmissiveMap (QQuick3DTexture *emissiveMap)
 
void setEmissiveFactor (QVector3D emissiveFactor)
 
void setSpecularReflectionMap (QQuick3DTexture *specularReflectionMap)
 
void setSpecularMap (QQuick3DTexture *specularMap)
 
void setSpecularTint (float specularTint)
 
void setSpecularAmount (float specularAmount)
 
void setRoughness (float roughness)
 
void setRoughnessMap (QQuick3DTexture *roughnessMap)
 
void setOpacity (float opacity)
 
void setOpacityMap (QQuick3DTexture *opacityMap)
 
void setNormalMap (QQuick3DTexture *normalMap)
 
void setMetalness (float metalnessAmount)
 
void setMetalnessMap (QQuick3DTexture *metalnessMap)
 
void setNormalStrength (float normalStrength)
 
void setOcclusionMap (QQuick3DTexture *occlusionMap)
 
void setOcclusionAmount (float occlusionAmount)
 
void setAlphaMode (QQuick3DPrincipledMaterial::AlphaMode alphaMode)
 
void setAlphaCutoff (float alphaCutoff)
 
void setMetalnessChannel (QQuick3DMaterial::TextureChannelMapping channel)
 
void setRoughnessChannel (QQuick3DMaterial::TextureChannelMapping channel)
 
void setOpacityChannel (QQuick3DMaterial::TextureChannelMapping channel)
 
void setOcclusionChannel (QQuick3DMaterial::TextureChannelMapping channel)
 
void setPointSize (float size)
 
void setLineWidth (float width)
 
 Q_REVISION (6, 2) void setHeightMap(QQuick3DTexture *heightMap)
 
Q_REVISION(6, 2) void setHeightChannel(QQuick3DMaterial Q_REVISION (6, 2) void setHeightAmount(float heightAmount)
 
 Q_REVISION (6, 2) void setMinHeightMapSamples(int samples)
 
 Q_REVISION (6, 2) void setMaxHeightMapSamples(int samples)
 
 Q_REVISION (6, 3) void setClearcoatAmount(float new ClearcoatAmount)
 
 Q_REVISION (6, 3) void setClearcoatMap(QQuick3DTexture *newClearcoatMap)
 
Q_REVISION(6, 3) void setClearcoatChannel(QQuick3DMaterial Q_REVISION (6, 3) void setClearcoatRoughnessAmount(float new ClearcoatRoughnessAmount)
 
Q_REVISION(6, 3) void setClearcoatRoughnessChannel(QQuick3DMaterial Q_REVISION (6, 3) void setClearcoatRoughnessMap(QQuick3DTexture *newClearcoatRoughnessMap)
 
 Q_REVISION (6, 3) void setClearcoatNormalMap(QQuick3DTexture *newClearcoatNormalMap)
 
 Q_REVISION (6, 3) void setTransmissionFactor(float new TransmissionFactor)
 
 Q_REVISION (6, 3) void setTransmissionMap(QQuick3DTexture *newTransmissionMap)
 
Q_REVISION(6, 3) void setTransmissionChannel(QQuick3DMaterial Q_REVISION (6, 3) void setThicknessFactor(float new ThicknessFactor)
 
 Q_REVISION (6, 3) void setThicknessMap(QQuick3DTexture *newThicknessMap)
 
Q_REVISION(6, 3) void setThicknessChannel(const QQuick3DMaterial Q_REVISION (6, 3) void setAttenuationDistance(float new AttenuationDistance)
 
 Q_REVISION (6, 3) void setAttenuationColor(const QColor &newAttenuationColor)
 
 Q_REVISION (6, 3) void setIndexOfRefraction(float indexOfRefraction)
 
 Q_REVISION (6, 5) void setVertexColorsEnabled(bool vertexColorsEnabled)
 
- Public Slots inherited from QQuick3DMaterial
void setLightProbe (QQuick3DTexture *lightProbe)
 
void setCullMode (QQuick3DMaterial::CullMode cullMode)
 
void setDepthDrawMode (QQuick3DMaterial::DepthDrawMode depthDrawMode)
 
- Public Slots inherited from QQuick3DObject
void update ()
 
void setParentItem (QQuick3DObject *parentItem)
 
- Public Slots inherited from QObject
void deleteLater ()
 \threadsafe
 

Signals

void lightingChanged (QQuick3DPrincipledMaterial::Lighting lighting)
 
void blendModeChanged (QQuick3DPrincipledMaterial::BlendMode blendMode)
 
void baseColorChanged (QColor baseColor)
 
void baseColorMapChanged (QQuick3DTexture *baseColorMap)
 
void emissiveMapChanged (QQuick3DTexture *emissiveMap)
 
void emissiveFactorChanged (QVector3D emissiveFactor)
 
void specularReflectionMapChanged (QQuick3DTexture *specularReflectionMap)
 
void specularMapChanged (QQuick3DTexture *specularMap)
 
void specularTintChanged (float specularTint)
 
void specularAmountChanged (float specularAmount)
 
void roughnessChanged (float roughness)
 
void roughnessMapChanged (QQuick3DTexture *roughnessMap)
 
void opacityChanged (float opacity)
 
void opacityMapChanged (QQuick3DTexture *opacityMap)
 
void normalMapChanged (QQuick3DTexture *normalMap)
 
void metalnessChanged (float metalness)
 
void metalnessMapChanged (QQuick3DTexture *metalnessMap)
 
void normalStrengthChanged (float normalStrength)
 
void occlusionMapChanged (QQuick3DTexture *occlusionMap)
 
void occlusionAmountChanged (float occlusionAmount)
 
void alphaModeChanged (QQuick3DPrincipledMaterial::AlphaMode alphaMode)
 
void alphaCutoffChanged (float alphaCutoff)
 
void metalnessChannelChanged (QQuick3DMaterial::TextureChannelMapping channel)
 
void roughnessChannelChanged (QQuick3DMaterial::TextureChannelMapping channel)
 
void opacityChannelChanged (QQuick3DMaterial::TextureChannelMapping channel)
 
void occlusionChannelChanged (QQuick3DMaterial::TextureChannelMapping channel)
 
void pointSizeChanged ()
 
void lineWidthChanged ()
 
 Q_REVISION (6, 2) void heightMapChanged(QQuick3DTexture *heightMap)
 
Q_REVISION(6, 2) void heightChannelChanged(QQuick3DMaterial Q_REVISION (6, 2) void heightAmountChanged(float heightAmount)
 
 Q_REVISION (6, 2) void minHeightMapSamplesChanged(int samples)
 
 Q_REVISION (6, 2) void maxHeightMapSamplesChanged(int samples)
 
 Q_REVISION (6, 3) void clearcoatAmountChanged(float amount)
 
 Q_REVISION (6, 3) void clearcoatMapChanged(QQuick3DTexture *texture)
 
Q_REVISION(6, 3) void clearcoatChannelChanged(QQuick3DMaterial Q_REVISION (6, 3) void clearcoatRoughnessAmountChanged(float amount)
 
Q_REVISION(6, 3) void clearcoatRoughnessChannelChanged(QQuick3DMaterial Q_REVISION (6, 3) void clearcoatRoughnessMapChanged(QQuick3DTexture *texture)
 
 Q_REVISION (6, 3) void clearcoatNormalMapChanged(QQuick3DTexture *texture)
 
 Q_REVISION (6, 3) void transmissionFactorChanged(float amount)
 
 Q_REVISION (6, 3) void transmissionMapChanged(QQuick3DTexture *texture)
 
Q_REVISION(6, 3) void transmissionChannelChanged(QQuick3DMaterial Q_REVISION (6, 3) void thicknessFactorChanged(float amount)
 
 Q_REVISION (6, 3) void thicknessMapChanged(QQuick3DTexture *texture)
 
Q_REVISION(6, 3) void thicknessChannelChanged(QQuick3DMaterial Q_REVISION (6, 3) void attenuationDistanceChanged(float distance)
 
 Q_REVISION (6, 3) void attenuationColorChanged(QColor color)
 
 Q_REVISION (6, 3) void indexOfRefractionChanged(float indexOfRefraction)
 
 Q_REVISION (6, 5) void vertexColorsEnabledChanged(bool vertexColorsEnabled)
 
- Signals inherited from QQuick3DMaterial
void lightProbeChanged (QQuick3DTexture *lightProbe)
 
void cullModeChanged (QQuick3DMaterial::CullMode cullMode)
 
void depthDrawModeChanged (QQuick3DMaterial::DepthDrawMode depthDrawMode)
 
- Signals inherited from QQuick3DObject
void parentChanged ()
 
void childrenChanged ()
 
void stateChanged ()
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked.
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 This signal is emitted after the object's name has been changed.
 

Public Member Functions

 QQuick3DPrincipledMaterial (QQuick3DObject *parent=nullptr)
 
 ~QQuick3DPrincipledMaterial () override
 
Lighting lighting () const
 
BlendMode blendMode () const
 
QColor baseColor () const
 
QQuick3DTexturebaseColorMap () const
 
QQuick3DTextureemissiveMap () const
 
QVector3D emissiveFactor () const
 
QQuick3DTexturespecularReflectionMap () const
 
QQuick3DTexturespecularMap () const
 
float specularTint () const
 
float specularAmount () const
 
float roughness () const
 
QQuick3DTextureroughnessMap () const
 
float opacity () const
 
QQuick3DTextureopacityMap () const
 
QQuick3DTexturenormalMap () const
 
float metalness () const
 
QQuick3DTexturemetalnessMap () const
 
float normalStrength () const
 
QQuick3DTextureocclusionMap () 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
 
- Public Member Functions inherited from QQuick3DMaterial
 ~QQuick3DMaterial () override
 
QQuick3DTexturelightProbe () const
 
CullMode cullMode () const
 
DepthDrawMode depthDrawMode () const
 
- Public Member Functions inherited from QObject
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< QStringbindableObjectName ()
 
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).
 
QThreadthread () 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 >
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 QObjectListchildren () 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< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () 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.
 
- Public Member Functions inherited from QQmlParserStatus
 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

QSSGRenderGraphObjectupdateSpatialNode (QSSGRenderGraphObject *node) override
 
void markAllDirty () override
 
void itemChange (ItemChange, const ItemChangeData &) override
 
- Protected Member Functions inherited from QQuick3DMaterial
 QQuick3DMaterial (QQuick3DObjectPrivate &dd, QQuick3DObject *parent=nullptr)
 \qmltype Material \inherits Object3D \inqmlmodule QtQuick3D
 
QSSGRenderGraphObjectupdateSpatialNode (QSSGRenderGraphObject *node) override
 
void itemChange (ItemChange, const ItemChangeData &) override
 
- Protected Member Functions inherited from QQuick3DObject
virtual QSSGRenderGraphObjectupdateSpatialNode (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 ()
 
- Protected Member Functions inherited from QObject
QObjectsender () 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)
 

Properties

Lighting lighting
 
BlendMode blendMode
 
QColor baseColor
 
QQuick3DTexturebaseColorMap
 
float metalness
 
QQuick3DTexturemetalnessMap
 
QQuick3DMaterial::TextureChannelMapping metalnessChannel
 
float specularAmount
 
QQuick3DTexturespecularMap
 
float specularTint
 
float roughness
 
QQuick3DTextureroughnessMap
 
QQuick3DMaterial::TextureChannelMapping roughnessChannel
 
QVector3D emissiveFactor
 
QQuick3DTextureemissiveMap
 
float opacity
 
QQuick3DTextureopacityMap
 
QQuick3DMaterial::TextureChannelMapping opacityChannel
 
QQuick3DTexturenormalMap
 
float normalStrength
 
QQuick3DTexturespecularReflectionMap
 
QQuick3DTextureocclusionMap
 
QQuick3DMaterial::TextureChannelMapping occlusionChannel
 
float occlusionAmount
 
AlphaMode alphaMode
 
float alphaCutoff
 
float pointSize
 
float lineWidth
 
QQuick3DTextureheightMap
 
QQuick3DMaterial::TextureChannelMapping heightChannel
 
float heightAmount
 
int minHeightMapSamples
 
int maxHeightMapSamples
 
float clearcoatAmount
 
QQuick3DTextureclearcoatMap
 
QQuick3DMaterial::TextureChannelMapping clearcoatChannel
 
float clearcoatRoughnessAmount
 
QQuick3DMaterial::TextureChannelMapping clearcoatRoughnessChannel
 
QQuick3DTextureclearcoatRoughnessMap
 
QQuick3DTextureclearcoatNormalMap
 
float transmissionFactor
 
QQuick3DTexturetransmissionMap
 
QQuick3DMaterial::TextureChannelMapping transmissionChannel
 
float thicknessFactor
 
QQuick3DTexturethicknessMap
 
QQuick3DMaterial::TextureChannelMapping thicknessChannel
 
float attenuationDistance
 
QColor attenuationColor
 
float indexOfRefraction
 
bool vertexColorsEnabled
 
- Properties inherited from QQuick3DMaterial
QQuick3DTexturelightProbe
 
CullMode cullMode
 
DepthDrawMode depthDrawMode
 
- Properties inherited from QQuick3DObject
QQuick3DObjectparent
 \qmlproperty Object3D QtQuick3D::Object3D::parent This property holds the parent of the Object3D in a 3D scene.
 
- Properties inherited from QObject
QString objectName
 the name of this object
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
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)
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 

Detailed Description

Definition at line 26 of file qquick3dprincipledmaterial_p.h.

Member Enumeration Documentation

◆ AlphaMode

Enumerator
Default 
Mask 
Blend 
Opaque 

Definition at line 119 of file qquick3dprincipledmaterial_p.h.

◆ BlendMode

Enumerator
SourceOver 
Screen 
Multiply 

Definition at line 112 of file qquick3dprincipledmaterial_p.h.

◆ Lighting

Enumerator
NoLighting 
FragmentLighting 

Definition at line 106 of file qquick3dprincipledmaterial_p.h.

Constructor & Destructor Documentation

◆ QQuick3DPrincipledMaterial()

QQuick3DPrincipledMaterial::QQuick3DPrincipledMaterial ( QQuick3DObject parent = nullptr)
explicit

Definition at line 717 of file qquick3dprincipledmaterial.cpp.

◆ ~QQuick3DPrincipledMaterial()

QQuick3DPrincipledMaterial::~QQuick3DPrincipledMaterial ( )
override

Definition at line 721 of file qquick3dprincipledmaterial.cpp.

Member Function Documentation

◆ alphaCutoff()

float QQuick3DPrincipledMaterial::alphaCutoff ( ) const

Definition at line 830 of file qquick3dprincipledmaterial.cpp.

◆ alphaCutoffChanged

void QQuick3DPrincipledMaterial::alphaCutoffChanged ( float  alphaCutoff)
signal

Referenced by setAlphaCutoff().

+ Here is the caller graph for this function:

◆ alphaMode()

QQuick3DPrincipledMaterial::AlphaMode QQuick3DPrincipledMaterial::alphaMode ( ) const

Definition at line 825 of file qquick3dprincipledmaterial.cpp.

◆ alphaModeChanged

void QQuick3DPrincipledMaterial::alphaModeChanged ( QQuick3DPrincipledMaterial::AlphaMode  alphaMode)
signal

Referenced by setAlphaMode().

+ Here is the caller graph for this function:

◆ baseColor()

QColor QQuick3DPrincipledMaterial::baseColor ( ) const

Definition at line 735 of file qquick3dprincipledmaterial.cpp.

◆ baseColorChanged

void QQuick3DPrincipledMaterial::baseColorChanged ( QColor  baseColor)
signal

Referenced by setBaseColor().

+ Here is the caller graph for this function:

◆ baseColorMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::baseColorMap ( ) const

Definition at line 740 of file qquick3dprincipledmaterial.cpp.

◆ baseColorMapChanged

void QQuick3DPrincipledMaterial::baseColorMapChanged ( QQuick3DTexture baseColorMap)
signal

Referenced by setBaseColorMap().

+ Here is the caller graph for this function:

◆ blendMode()

QQuick3DPrincipledMaterial::BlendMode QQuick3DPrincipledMaterial::blendMode ( ) const

Definition at line 730 of file qquick3dprincipledmaterial.cpp.

◆ blendModeChanged

void QQuick3DPrincipledMaterial::blendModeChanged ( QQuick3DPrincipledMaterial::BlendMode  blendMode)
signal

Referenced by setBlendMode().

+ Here is the caller graph for this function:

◆ emissiveFactor()

QVector3D QQuick3DPrincipledMaterial::emissiveFactor ( ) const

Definition at line 750 of file qquick3dprincipledmaterial.cpp.

◆ emissiveFactorChanged

void QQuick3DPrincipledMaterial::emissiveFactorChanged ( QVector3D  emissiveFactor)
signal

Referenced by setEmissiveFactor().

+ Here is the caller graph for this function:

◆ emissiveMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::emissiveMap ( ) const

Definition at line 745 of file qquick3dprincipledmaterial.cpp.

◆ emissiveMapChanged

void QQuick3DPrincipledMaterial::emissiveMapChanged ( QQuick3DTexture emissiveMap)
signal

Referenced by setEmissiveMap().

+ Here is the caller graph for this function:

◆ itemChange()

void QQuick3DPrincipledMaterial::itemChange ( ItemChange  ,
const ItemChangeData &   
)
overrideprotectedvirtual

Reimplemented from QQuick3DMaterial.

Definition at line 1432 of file qquick3dprincipledmaterial.cpp.

◆ lighting()

QQuick3DPrincipledMaterial::Lighting QQuick3DPrincipledMaterial::lighting ( ) const

Definition at line 725 of file qquick3dprincipledmaterial.cpp.

◆ lightingChanged

void QQuick3DPrincipledMaterial::lightingChanged ( QQuick3DPrincipledMaterial::Lighting  lighting)
signal

Referenced by setLighting().

+ Here is the caller graph for this function:

◆ lineWidth()

float QQuick3DPrincipledMaterial::lineWidth ( ) const

Definition at line 860 of file qquick3dprincipledmaterial.cpp.

◆ lineWidthChanged

void QQuick3DPrincipledMaterial::lineWidthChanged ( )
signal

Referenced by setLineWidth().

+ Here is the caller graph for this function:

◆ markAllDirty()

void QQuick3DPrincipledMaterial::markAllDirty ( )
overrideprotectedvirtual

Reimplemented from QQuick3DObject.

Definition at line 890 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObject::markAllDirty().

Referenced by updateSpatialNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ metalness()

float QQuick3DPrincipledMaterial::metalness ( ) const

Definition at line 800 of file qquick3dprincipledmaterial.cpp.

◆ metalnessChanged

void QQuick3DPrincipledMaterial::metalnessChanged ( float  metalness)
signal

Referenced by setMetalness().

+ Here is the caller graph for this function:

◆ metalnessChannel()

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::metalnessChannel ( ) const

Definition at line 845 of file qquick3dprincipledmaterial.cpp.

◆ metalnessChannelChanged

void QQuick3DPrincipledMaterial::metalnessChannelChanged ( QQuick3DMaterial::TextureChannelMapping  channel)
signal

Referenced by setMetalnessChannel().

+ Here is the caller graph for this function:

◆ metalnessMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::metalnessMap ( ) const

Definition at line 805 of file qquick3dprincipledmaterial.cpp.

◆ metalnessMapChanged

void QQuick3DPrincipledMaterial::metalnessMapChanged ( QQuick3DTexture metalnessMap)
signal

Referenced by setMetalnessMap().

+ Here is the caller graph for this function:

◆ normalMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::normalMap ( ) const

Definition at line 795 of file qquick3dprincipledmaterial.cpp.

◆ normalMapChanged

void QQuick3DPrincipledMaterial::normalMapChanged ( QQuick3DTexture normalMap)
signal

Referenced by setNormalMap().

+ Here is the caller graph for this function:

◆ normalStrength()

float QQuick3DPrincipledMaterial::normalStrength ( ) const

Definition at line 810 of file qquick3dprincipledmaterial.cpp.

◆ normalStrengthChanged

void QQuick3DPrincipledMaterial::normalStrengthChanged ( float  normalStrength)
signal

Referenced by setNormalStrength().

+ Here is the caller graph for this function:

◆ occlusionAmount()

float QQuick3DPrincipledMaterial::occlusionAmount ( ) const

Definition at line 820 of file qquick3dprincipledmaterial.cpp.

◆ occlusionAmountChanged

void QQuick3DPrincipledMaterial::occlusionAmountChanged ( float  occlusionAmount)
signal

Referenced by setOcclusionAmount().

+ Here is the caller graph for this function:

◆ occlusionChannel()

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::occlusionChannel ( ) const

Definition at line 850 of file qquick3dprincipledmaterial.cpp.

◆ occlusionChannelChanged

void QQuick3DPrincipledMaterial::occlusionChannelChanged ( QQuick3DMaterial::TextureChannelMapping  channel)
signal

Referenced by setOcclusionChannel().

+ Here is the caller graph for this function:

◆ occlusionMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::occlusionMap ( ) const

Definition at line 815 of file qquick3dprincipledmaterial.cpp.

◆ occlusionMapChanged

void QQuick3DPrincipledMaterial::occlusionMapChanged ( QQuick3DTexture occlusionMap)
signal

Referenced by setOcclusionMap().

+ Here is the caller graph for this function:

◆ opacity()

float QQuick3DPrincipledMaterial::opacity ( ) const

Definition at line 785 of file qquick3dprincipledmaterial.cpp.

◆ opacityChanged

void QQuick3DPrincipledMaterial::opacityChanged ( float  opacity)
signal

Referenced by setOpacity().

+ Here is the caller graph for this function:

◆ opacityChannel()

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::opacityChannel ( ) const

Definition at line 840 of file qquick3dprincipledmaterial.cpp.

◆ opacityChannelChanged

void QQuick3DPrincipledMaterial::opacityChannelChanged ( QQuick3DMaterial::TextureChannelMapping  channel)
signal

Referenced by setOpacityChannel().

+ Here is the caller graph for this function:

◆ opacityMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::opacityMap ( ) const

Definition at line 790 of file qquick3dprincipledmaterial.cpp.

◆ opacityMapChanged

void QQuick3DPrincipledMaterial::opacityMapChanged ( QQuick3DTexture opacityMap)
signal

Referenced by setOpacityMap().

+ Here is the caller graph for this function:

◆ pointSize()

float QQuick3DPrincipledMaterial::pointSize ( ) const

Definition at line 855 of file qquick3dprincipledmaterial.cpp.

◆ pointSizeChanged

void QQuick3DPrincipledMaterial::pointSizeChanged ( )
signal

Referenced by setPointSize().

+ Here is the caller graph for this function:

◆ Q_REVISION() [1/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [2/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [3/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [4/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [5/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION [6/56]

Q_REVISION(6, 2) void heightChannelChanged(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [7/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [8/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [9/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [10/56]

Q_REVISION(6, 2) void setHeightChannel(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [11/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [12/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [13/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION() [14/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const &

◆ Q_REVISION() [15/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const &

◆ Q_REVISION() [16/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [17/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [18/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [19/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [20/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [21/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [22/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [23/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [24/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [25/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [26/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [27/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [28/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION() [29/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION [30/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [31/56]

Q_REVISION(6, 3) void thicknessChannelChanged(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [32/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [33/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [34/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [35/56]

Q_REVISION(6, 3) void clearcoatChannelChanged(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [36/56]

Q_REVISION(6, 3) void clearcoatRoughnessChannelChanged(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [37/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [38/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const &
slot

◆ Q_REVISION [39/56]

Q_REVISION(6, 3) void setThicknessChannel(const QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
newslot

◆ Q_REVISION [40/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
newslot

◆ Q_REVISION [41/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [42/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [43/56]

Q_REVISION(6, 3) void setClearcoatChannel(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
newslot

◆ Q_REVISION [44/56]

Q_REVISION(6, 3) void setClearcoatRoughnessChannel(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [45/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [46/56]

Q_REVISION(6, 3) void setTransmissionChannel(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
newslot

◆ Q_REVISION [47/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [48/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
newslot

◆ Q_REVISION [49/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [50/56]

Q_REVISION(6, 3) void transmissionChannelChanged(QQuick3DMaterial QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [51/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [52/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION [53/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ Q_REVISION() [54/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
) const

◆ Q_REVISION [55/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
slot

◆ Q_REVISION [56/56]

QQuick3DPrincipledMaterial::Q_REVISION ( ,
 
)
signal

◆ roughness()

float QQuick3DPrincipledMaterial::roughness ( ) const

Definition at line 775 of file qquick3dprincipledmaterial.cpp.

◆ roughnessChanged

void QQuick3DPrincipledMaterial::roughnessChanged ( float  roughness)
signal

Referenced by setRoughness().

+ Here is the caller graph for this function:

◆ roughnessChannel()

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::roughnessChannel ( ) const

Definition at line 835 of file qquick3dprincipledmaterial.cpp.

◆ roughnessChannelChanged

void QQuick3DPrincipledMaterial::roughnessChannelChanged ( QQuick3DMaterial::TextureChannelMapping  channel)
signal

Referenced by setRoughnessChannel().

+ Here is the caller graph for this function:

◆ roughnessMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::roughnessMap ( ) const

Definition at line 780 of file qquick3dprincipledmaterial.cpp.

◆ roughnessMapChanged

void QQuick3DPrincipledMaterial::roughnessMapChanged ( QQuick3DTexture roughnessMap)
signal

Referenced by setRoughnessMap().

+ Here is the caller graph for this function:

◆ setAlphaCutoff

void QQuick3DPrincipledMaterial::setAlphaCutoff ( float  alphaCutoff)
slot

Definition at line 1130 of file qquick3dprincipledmaterial.cpp.

References alphaCutoff, alphaCutoffChanged(), emit, and qFuzzyCompare().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAlphaMode

void QQuick3DPrincipledMaterial::setAlphaMode ( QQuick3DPrincipledMaterial::AlphaMode  alphaMode)
slot

Definition at line 1120 of file qquick3dprincipledmaterial.cpp.

References alphaMode, alphaModeChanged(), and emit.

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBaseColor

void QQuick3DPrincipledMaterial::setBaseColor ( QColor  baseColor)
slot

Definition at line 916 of file qquick3dprincipledmaterial.cpp.

References baseColorChanged(), and emit.

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBaseColorMap

void QQuick3DPrincipledMaterial::setBaseColorMap ( QQuick3DTexture baseColorMap)
slot

Definition at line 926 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), baseColorMap, baseColorMapChanged(), emit, and setBaseColorMap().

Referenced by setBaseColorMap(), and setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBlendMode

void QQuick3DPrincipledMaterial::setBlendMode ( QQuick3DPrincipledMaterial::BlendMode  blendMode)
slot

Definition at line 906 of file qquick3dprincipledmaterial.cpp.

References blendMode, blendModeChanged(), and emit.

+ Here is the call graph for this function:

◆ setEmissiveFactor

void QQuick3DPrincipledMaterial::setEmissiveFactor ( QVector3D  emissiveFactor)
slot

Definition at line 950 of file qquick3dprincipledmaterial.cpp.

References emissiveFactor, emissiveFactorChanged(), and emit.

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setEmissiveMap

void QQuick3DPrincipledMaterial::setEmissiveMap ( QQuick3DTexture emissiveMap)
slot

Definition at line 938 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), emissiveMap, emissiveMapChanged(), emit, and setEmissiveMap().

Referenced by setEmissiveMap(), and setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setLighting

void QQuick3DPrincipledMaterial::setLighting ( QQuick3DPrincipledMaterial::Lighting  lighting)
slot

Definition at line 896 of file qquick3dprincipledmaterial.cpp.

References emit, lighting, and lightingChanged().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setLineWidth

void QQuick3DPrincipledMaterial::setLineWidth ( float  width)
slot

Definition at line 1189 of file qquick3dprincipledmaterial.cpp.

References emit, lineWidthChanged(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setMetalness

void QQuick3DPrincipledMaterial::setMetalness ( float  metalnessAmount)
slot

Definition at line 1064 of file qquick3dprincipledmaterial.cpp.

References emit, ensureNormalized(), metalnessChanged(), and qFuzzyCompare().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setMetalnessChannel

void QQuick3DPrincipledMaterial::setMetalnessChannel ( QQuick3DMaterial::TextureChannelMapping  channel)
slot

Definition at line 1140 of file qquick3dprincipledmaterial.cpp.

References channel, emit, and metalnessChannelChanged().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setMetalnessMap

void QQuick3DPrincipledMaterial::setMetalnessMap ( QQuick3DTexture metalnessMap)
slot

Definition at line 1075 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), emit, metalnessMapChanged(), and setMetalnessMap().

Referenced by setMaterialProperties(), and setMetalnessMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setNormalMap

void QQuick3DPrincipledMaterial::setNormalMap ( QQuick3DTexture normalMap)
slot

Definition at line 1052 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), emit, normalMap, normalMapChanged(), and setNormalMap().

Referenced by setMaterialProperties(), and setNormalMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setNormalStrength

void QQuick3DPrincipledMaterial::setNormalStrength ( float  normalStrength)
slot

Definition at line 1087 of file qquick3dprincipledmaterial.cpp.

References emit, ensureNormalized(), normalStrengthChanged(), and qFuzzyCompare().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setOcclusionAmount

void QQuick3DPrincipledMaterial::setOcclusionAmount ( float  occlusionAmount)
slot

Definition at line 1110 of file qquick3dprincipledmaterial.cpp.

References emit, occlusionAmount, occlusionAmountChanged(), and qFuzzyCompare().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setOcclusionChannel

void QQuick3DPrincipledMaterial::setOcclusionChannel ( QQuick3DMaterial::TextureChannelMapping  channel)
slot

Definition at line 1170 of file qquick3dprincipledmaterial.cpp.

References channel, emit, and occlusionChannelChanged().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setOcclusionMap

void QQuick3DPrincipledMaterial::setOcclusionMap ( QQuick3DTexture occlusionMap)
slot

Definition at line 1098 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), emit, occlusionMap, occlusionMapChanged(), and setOcclusionMap().

Referenced by setMaterialProperties(), and setOcclusionMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setOpacity

void QQuick3DPrincipledMaterial::setOpacity ( float  opacity)
slot

Definition at line 1029 of file qquick3dprincipledmaterial.cpp.

References emit, ensureNormalized(), opacity, opacityChanged(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setOpacityChannel

void QQuick3DPrincipledMaterial::setOpacityChannel ( QQuick3DMaterial::TextureChannelMapping  channel)
slot

Definition at line 1160 of file qquick3dprincipledmaterial.cpp.

References channel, emit, and opacityChannelChanged().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setOpacityMap

void QQuick3DPrincipledMaterial::setOpacityMap ( QQuick3DTexture opacityMap)
slot

Definition at line 1040 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), emit, opacityMap, opacityMapChanged(), and setOpacityMap().

Referenced by setOpacityMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPointSize

void QQuick3DPrincipledMaterial::setPointSize ( float  size)
slot

Definition at line 1180 of file qquick3dprincipledmaterial.cpp.

References emit, pointSizeChanged(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setRoughness

void QQuick3DPrincipledMaterial::setRoughness ( float  roughness)
slot

Definition at line 1006 of file qquick3dprincipledmaterial.cpp.

References emit, ensureNormalized(), qFuzzyCompare(), roughness, and roughnessChanged().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setRoughnessChannel

void QQuick3DPrincipledMaterial::setRoughnessChannel ( QQuick3DMaterial::TextureChannelMapping  channel)
slot

Definition at line 1150 of file qquick3dprincipledmaterial.cpp.

References channel, emit, and roughnessChannelChanged().

Referenced by setMaterialProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setRoughnessMap

void QQuick3DPrincipledMaterial::setRoughnessMap ( QQuick3DTexture roughnessMap)
slot

Definition at line 1017 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), emit, roughnessMap, roughnessMapChanged(), and setRoughnessMap().

Referenced by setMaterialProperties(), and setRoughnessMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSpecularAmount

void QQuick3DPrincipledMaterial::setSpecularAmount ( float  specularAmount)
slot

Definition at line 995 of file qquick3dprincipledmaterial.cpp.

References emit, ensureNormalized(), qFuzzyCompare(), specularAmount, and specularAmountChanged().

+ Here is the call graph for this function:

◆ setSpecularMap

void QQuick3DPrincipledMaterial::setSpecularMap ( QQuick3DTexture specularMap)
slot

Definition at line 972 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), emit, setSpecularMap(), specularMap, and specularMapChanged().

Referenced by setSpecularMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSpecularReflectionMap

void QQuick3DPrincipledMaterial::setSpecularReflectionMap ( QQuick3DTexture specularReflectionMap)
slot

Definition at line 960 of file qquick3dprincipledmaterial.cpp.

References QQuick3DObjectPrivate::attachWatcher(), emit, setSpecularReflectionMap(), specularReflectionMap, and specularReflectionMapChanged().

Referenced by setSpecularReflectionMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSpecularTint

void QQuick3DPrincipledMaterial::setSpecularTint ( float  specularTint)
slot

Definition at line 984 of file qquick3dprincipledmaterial.cpp.

References emit, ensureNormalized(), qFuzzyCompare(), specularTint, and specularTintChanged().

+ Here is the call graph for this function:

◆ specularAmount()

float QQuick3DPrincipledMaterial::specularAmount ( ) const

Definition at line 770 of file qquick3dprincipledmaterial.cpp.

◆ specularAmountChanged

void QQuick3DPrincipledMaterial::specularAmountChanged ( float  specularAmount)
signal

Referenced by setSpecularAmount().

+ Here is the caller graph for this function:

◆ specularMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::specularMap ( ) const

Definition at line 760 of file qquick3dprincipledmaterial.cpp.

◆ specularMapChanged

void QQuick3DPrincipledMaterial::specularMapChanged ( QQuick3DTexture specularMap)
signal

Referenced by setSpecularMap().

+ Here is the caller graph for this function:

◆ specularReflectionMap()

QQuick3DTexture * QQuick3DPrincipledMaterial::specularReflectionMap ( ) const

Definition at line 755 of file qquick3dprincipledmaterial.cpp.

◆ specularReflectionMapChanged

void QQuick3DPrincipledMaterial::specularReflectionMapChanged ( QQuick3DTexture specularReflectionMap)
signal

Referenced by setSpecularReflectionMap().

+ Here is the caller graph for this function:

◆ specularTint()

float QQuick3DPrincipledMaterial::specularTint ( ) const

Definition at line 765 of file qquick3dprincipledmaterial.cpp.

◆ specularTintChanged

void QQuick3DPrincipledMaterial::specularTintChanged ( float  specularTint)
signal

Referenced by setSpecularTint().

+ Here is the caller graph for this function:

◆ updateSpatialNode()

QSSGRenderGraphObject * QQuick3DPrincipledMaterial::updateSpatialNode ( QSSGRenderGraphObject node)
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.

+ Here is the call graph for this function:

Property Documentation

◆ alphaCutoff

float QQuick3DPrincipledMaterial::alphaCutoff
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setAlphaCutoff().

◆ alphaMode

AlphaMode QQuick3DPrincipledMaterial::alphaMode
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setAlphaMode().

◆ attenuationColor

const QColor & QQuick3DPrincipledMaterial::attenuationColor
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ attenuationDistance

float QQuick3DPrincipledMaterial::attenuationDistance
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ baseColor

QColor QQuick3DPrincipledMaterial::baseColor
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ baseColorMap

QQuick3DTexture * QQuick3DPrincipledMaterial::baseColorMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setBaseColorMap().

◆ blendMode

BlendMode QQuick3DPrincipledMaterial::blendMode
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setBlendMode().

◆ clearcoatAmount

float QQuick3DPrincipledMaterial::clearcoatAmount
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ clearcoatChannel

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::clearcoatChannel
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ clearcoatMap

QQuick3DTexture * QQuick3DPrincipledMaterial::clearcoatMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ clearcoatNormalMap

QQuick3DTexture * QQuick3DPrincipledMaterial::clearcoatNormalMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ clearcoatRoughnessAmount

float QQuick3DPrincipledMaterial::clearcoatRoughnessAmount
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ clearcoatRoughnessChannel

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::clearcoatRoughnessChannel
read

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ clearcoatRoughnessMap

QQuick3DTexture * QQuick3DPrincipledMaterial::clearcoatRoughnessMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ emissiveFactor

QVector3D QQuick3DPrincipledMaterial::emissiveFactor
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setEmissiveFactor().

◆ emissiveMap

QQuick3DTexture * QQuick3DPrincipledMaterial::emissiveMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setEmissiveMap().

◆ heightAmount

float QQuick3DPrincipledMaterial::heightAmount
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ heightChannel

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::heightChannel
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ heightMap

QQuick3DTexture * QQuick3DPrincipledMaterial::heightMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ indexOfRefraction

float QQuick3DPrincipledMaterial::indexOfRefraction
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ lighting

Lighting QQuick3DPrincipledMaterial::lighting
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setLighting().

◆ lineWidth

float QQuick3DPrincipledMaterial::lineWidth
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ maxHeightMapSamples

int QQuick3DPrincipledMaterial::maxHeightMapSamples
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ metalness

float QQuick3DPrincipledMaterial::metalness
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ metalnessChannel

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::metalnessChannel
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ metalnessMap

QQuick3DTexture * QQuick3DPrincipledMaterial::metalnessMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ minHeightMapSamples

int QQuick3DPrincipledMaterial::minHeightMapSamples
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ normalMap

QQuick3DTexture * QQuick3DPrincipledMaterial::normalMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setNormalMap().

◆ normalStrength

float QQuick3DPrincipledMaterial::normalStrength
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ occlusionAmount

float QQuick3DPrincipledMaterial::occlusionAmount
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setOcclusionAmount().

◆ occlusionChannel

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::occlusionChannel
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ occlusionMap

QQuick3DTexture * QQuick3DPrincipledMaterial::occlusionMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setOcclusionMap().

◆ opacity

float QQuick3DPrincipledMaterial::opacity
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setOpacity().

◆ opacityChannel

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::opacityChannel
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ opacityMap

QQuick3DTexture * QQuick3DPrincipledMaterial::opacityMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setOpacityMap().

◆ pointSize

float QQuick3DPrincipledMaterial::pointSize
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ roughness

float QQuick3DPrincipledMaterial::roughness
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setRoughness().

◆ roughnessChannel

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::roughnessChannel
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ roughnessMap

QQuick3DTexture * QQuick3DPrincipledMaterial::roughnessMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setRoughnessMap().

◆ specularAmount

float QQuick3DPrincipledMaterial::specularAmount
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setSpecularAmount().

◆ specularMap

QQuick3DTexture * QQuick3DPrincipledMaterial::specularMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setSpecularMap().

◆ specularReflectionMap

QQuick3DTexture * QQuick3DPrincipledMaterial::specularReflectionMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setSpecularReflectionMap().

◆ specularTint

float QQuick3DPrincipledMaterial::specularTint
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

Referenced by setSpecularTint().

◆ thicknessChannel

const QQuick3DMaterial::TextureChannelMapping & QQuick3DPrincipledMaterial::thicknessChannel
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ thicknessFactor

float QQuick3DPrincipledMaterial::thicknessFactor
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ thicknessMap

QQuick3DTexture * QQuick3DPrincipledMaterial::thicknessMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ transmissionChannel

QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::transmissionChannel
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ transmissionFactor

float QQuick3DPrincipledMaterial::transmissionFactor
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ transmissionMap

QQuick3DTexture * QQuick3DPrincipledMaterial::transmissionMap
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.

◆ vertexColorsEnabled

bool QQuick3DPrincipledMaterial::vertexColorsEnabled
readwrite

Definition at line 390 of file qquick3dprincipledmaterial_p.h.


The documentation for this class was generated from the following files: