Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 | VertexColorMask { NoMask = QQuick3DMaterial::NoMask , RoughnessMask = QQuick3DMaterial::RoughnessMask , NormalStrengthMask = QQuick3DMaterial::NormalStrengthMask , SpecularAmountMask = QQuick3DMaterial::SpecularAmountMask , ClearcoatAmountMask = QQuick3DMaterial::ClearcoatAmountMask , ClearcoatRoughnessAmountMask = QQuick3DMaterial::ClearcoatRoughnessAmountMask , ClearcoatNormalStrengthMask = QQuick3DMaterial::ClearcoatNormalStrengthMask , HeightAmountMask = QQuick3DMaterial::HeightAmountMask , MetalnessMask = QQuick3DMaterial::MetalnessMask , OcclusionAmountMask = QQuick3DMaterial::OcclusionAmountMask , ThicknessFactorMask = QQuick3DMaterial::ThicknessFactorMask , TransmissionFactorMask = QQuick3DMaterial::TransmissionFactorMask } |
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 } |
enum | VertexColorMask { NoMask = 0 , RoughnessMask = 1 , NormalStrengthMask = 2 , SpecularAmountMask = 4 , ClearcoatAmountMask = 8 , ClearcoatRoughnessAmountMask = 16 , ClearcoatNormalStrengthMask = 32 , HeightAmountMask = 64 , MetalnessMask = 128 , OcclusionAmountMask = 256 , ThicknessFactorMask = 512 , TransmissionFactorMask = 1024 } |
Public Member Functions | |
QQuick3DPrincipledMaterial (QQuick3DObject *parent=nullptr) | |
\qmltype PrincipledMaterial \inherits Material \inqmlmodule QtQuick3D | |
~QQuick3DPrincipledMaterial () override | |
Lighting | lighting () const |
BlendMode | blendMode () const |
QColor | baseColor () const |
QQuick3DTexture * | baseColorMap () const |
bool | baseColorSingleChannelEnabled () const |
TextureChannelMapping | baseColorChannel () const |
bool | specularSingleChannelEnabled () const |
TextureChannelMapping | specularChannel () const |
bool | emissiveSingleChannelEnabled () const |
TextureChannelMapping | emissiveChannel () 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 |
bool | invertOpacityMapValue () 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, 8) float clearcoatNormalStrength() 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, 8) bool fresnelScaleBiasEnabled() const | |
Q_REVISION (6, 8) float fresnelScale() const | |
Q_REVISION (6, 8) float fresnelBias() const | |
Q_REVISION (6, 8) float fresnelPower() const | |
Q_REVISION (6, 8) bool clearcoatFresnelScaleBiasEnabled() const | |
Q_REVISION (6, 8) float clearcoatFresnelScale() const | |
Q_REVISION (6, 8) float clearcoatFresnelBias() const | |
Q_REVISION (6, 8) float clearcoatFresnelPower() const | |
Q_REVISION (6, 5) bool vertexColorsEnabled() const | |
Q_REVISION (6, 8) bool vertexColorsMaskEnabled() const | |
Q_REVISION (6, 8) VertexColorMaskFlags vertexColorRedMask() const | |
Q_REVISION (6, 8) VertexColorMaskFlags vertexColorGreenMask() const | |
Q_REVISION (6, 8) VertexColorMaskFlags vertexColorBlueMask() const | |
Q_REVISION (6, 8) VertexColorMaskFlags vertexColorAlphaMask() const | |
Public Member Functions inherited from QQuick3DMaterial | |
~QQuick3DMaterial () override | |
QQuick3DTexture * | lightProbe () 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< 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. | |
bool | moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL) |
Changes the thread affinity for this object and its children and returns true on success. | |
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::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer) |
void | killTimer (int id) |
Kills the timer with timer identifier, id. | |
void | killTimer (Qt::TimerId id) |
template<typename T > | |
T | findChild (QAnyStringView aName, 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 (QAnyStringView 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 > | |
T | findChild (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. | |
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 . | |
Public Member Functions inherited from QQmlParserStatus | |
QQmlParserStatus () | |
virtual | ~QQmlParserStatus () |
Protected Member Functions | |
QSSGRenderGraphObject * | updateSpatialNode (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 | |
Protected Member Functions inherited from QQuick3DObject | |
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 | |
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 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< QObjectData > | d_ptr |
Related Symbols inherited from QObject | |
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 143 of file qquick3dprincipledmaterial_p.h.
Enumerator | |
---|---|
SourceOver | |
Screen | |
Multiply |
Definition at line 136 of file qquick3dprincipledmaterial_p.h.
Enumerator | |
---|---|
NoLighting | |
FragmentLighting |
Definition at line 130 of file qquick3dprincipledmaterial_p.h.
Definition at line 151 of file qquick3dprincipledmaterial_p.h.
|
explicit |
\qmltype PrincipledMaterial \inherits Material \inqmlmodule QtQuick3D
Lets you define a material for 3D items using the metal/roughness workflow.
Before a Model can be rendered in a scene, it must have at least one material attached to it that describes how the mesh should be shaded. The PrincipledMaterial is a PBR metal/roughness material that aims at being an easy to use material with a minimal set of parameters. In addition to having few parameters, all input values are strictly normalized between 0 and 1 and have sensible defaults, meaning even without changing any values, the material can be used to shader a model. For an introduction on how the different properties of the principled material affects how a model is shaded, see the \l{Qt Quick 3D - Principled Material Example}{Principled Material example}.
Definition at line 962 of file qquick3dprincipledmaterial.cpp.
|
override |
Definition at line 966 of file qquick3dprincipledmaterial.cpp.
float QQuick3DPrincipledMaterial::alphaCutoff | ( | ) | const |
Definition at line 1110 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DPrincipledMaterial::AlphaMode QQuick3DPrincipledMaterial::alphaMode | ( | ) | const |
Definition at line 1105 of file qquick3dprincipledmaterial.cpp.
|
signal |
QColor QQuick3DPrincipledMaterial::baseColor | ( | ) | const |
Definition at line 980 of file qquick3dprincipledmaterial.cpp.
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::baseColorChannel | ( | ) | const |
Definition at line 995 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::baseColorMap | ( | ) | const |
Definition at line 985 of file qquick3dprincipledmaterial.cpp.
|
signal |
bool QQuick3DPrincipledMaterial::baseColorSingleChannelEnabled | ( | ) | const |
Definition at line 990 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DPrincipledMaterial::BlendMode QQuick3DPrincipledMaterial::blendMode | ( | ) | const |
Definition at line 975 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::emissiveChannel | ( | ) | const |
Definition at line 1015 of file qquick3dprincipledmaterial.cpp.
|
signal |
QVector3D QQuick3DPrincipledMaterial::emissiveFactor | ( | ) | const |
Definition at line 1025 of file qquick3dprincipledmaterial.cpp.
QQuick3DTexture * QQuick3DPrincipledMaterial::emissiveMap | ( | ) | const |
Definition at line 1020 of file qquick3dprincipledmaterial.cpp.
|
signal |
bool QQuick3DPrincipledMaterial::emissiveSingleChannelEnabled | ( | ) | const |
Definition at line 1010 of file qquick3dprincipledmaterial.cpp.
|
signal |
bool QQuick3DPrincipledMaterial::invertOpacityMapValue | ( | ) | const |
Definition at line 1060 of file qquick3dprincipledmaterial.cpp.
|
signal |
|
overrideprotectedvirtual |
Reimplemented from QQuick3DMaterial.
Definition at line 1801 of file qquick3dprincipledmaterial.cpp.
QQuick3DPrincipledMaterial::Lighting QQuick3DPrincipledMaterial::lighting | ( | ) | const |
Definition at line 970 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::lineWidth | ( | ) | const |
Definition at line 1140 of file qquick3dprincipledmaterial.cpp.
|
signal |
|
overrideprotectedvirtual |
Reimplemented from QQuick3DObject.
Definition at line 1170 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObject::markAllDirty().
Referenced by updateSpatialNode().
float QQuick3DPrincipledMaterial::metalness | ( | ) | const |
Definition at line 1080 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::metalnessChannel | ( | ) | const |
Definition at line 1125 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::metalnessMap | ( | ) | const |
Definition at line 1085 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::normalMap | ( | ) | const |
Definition at line 1075 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::normalStrength | ( | ) | const |
Definition at line 1090 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::occlusionAmount | ( | ) | const |
Definition at line 1100 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::occlusionChannel | ( | ) | const |
Definition at line 1130 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::occlusionMap | ( | ) | const |
Definition at line 1095 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::opacity | ( | ) | const |
Definition at line 1065 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::opacityChannel | ( | ) | const |
Definition at line 1120 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::opacityMap | ( | ) | const |
Definition at line 1070 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::pointSize | ( | ) | const |
Definition at line 1135 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 |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
QQuick3DPrincipledMaterial::Q_REVISION | ( | 6 | , |
8 | ) const |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
float QQuick3DPrincipledMaterial::roughness | ( | ) | const |
Definition at line 1050 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::roughnessChannel | ( | ) | const |
Definition at line 1115 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::roughnessMap | ( | ) | const |
Definition at line 1055 of file qquick3dprincipledmaterial.cpp.
|
signal |
|
slot |
Definition at line 1480 of file qquick3dprincipledmaterial.cpp.
References alphaCutoff, alphaCutoffChanged(), emit, and qFuzzyCompare().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1470 of file qquick3dprincipledmaterial.cpp.
References alphaMode, alphaModeChanged(), and emit.
Referenced by setMaterialProperties().
Definition at line 1196 of file qquick3dprincipledmaterial.cpp.
References baseColorChanged(), and emit.
Referenced by setMaterialProperties().
|
slot |
Definition at line 1228 of file qquick3dprincipledmaterial.cpp.
References baseColorChannelChanged(), channel, and emit.
|
slot |
Definition at line 1206 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), baseColorMap, baseColorMapChanged(), emit, and setBaseColorMap().
Referenced by setBaseColorMap(), and setMaterialProperties().
|
slot |
Definition at line 1218 of file qquick3dprincipledmaterial.cpp.
References baseColorSingleChannelEnabled, baseColorSingleChannelEnabledChanged(), and emit.
|
slot |
Definition at line 1186 of file qquick3dprincipledmaterial.cpp.
References blendMode, blendModeChanged(), and emit.
|
slot |
Definition at line 1268 of file qquick3dprincipledmaterial.cpp.
References channel, emissiveChannelChanged(), and emit.
Definition at line 1290 of file qquick3dprincipledmaterial.cpp.
References emissiveFactor, emissiveFactorChanged(), and emit.
Referenced by setMaterialProperties().
|
slot |
Definition at line 1278 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emissiveMap, emissiveMapChanged(), emit, and setEmissiveMap().
Referenced by setEmissiveMap(), and setMaterialProperties().
|
slot |
Definition at line 1258 of file qquick3dprincipledmaterial.cpp.
References emissiveSingleChannelEnabled, emissiveSingleChannelEnabledChanged(), and emit.
|
slot |
Definition at line 1369 of file qquick3dprincipledmaterial.cpp.
References emit, invertOpacityMapValue, and invertOpacityMapValueChanged().
|
slot |
Definition at line 1176 of file qquick3dprincipledmaterial.cpp.
References emit, lighting, and lightingChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1539 of file qquick3dprincipledmaterial.cpp.
References emit, lineWidthChanged(), and qFuzzyCompare().
|
slot |
Definition at line 1414 of file qquick3dprincipledmaterial.cpp.
References emit, metalnessChanged(), and qFuzzyCompare().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1490 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and metalnessChannelChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1425 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, metalnessMapChanged(), and setMetalnessMap().
Referenced by setMaterialProperties(), and setMetalnessMap().
|
slot |
Definition at line 1402 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, normalMap, normalMapChanged(), and setNormalMap().
Referenced by setMaterialProperties(), and setNormalMap().
|
slot |
Definition at line 1437 of file qquick3dprincipledmaterial.cpp.
References emit, normalStrengthChanged(), and qFuzzyCompare().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1460 of file qquick3dprincipledmaterial.cpp.
References emit, occlusionAmount, occlusionAmountChanged(), and qFuzzyCompare().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1520 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and occlusionChannelChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1448 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, occlusionMap, occlusionMapChanged(), and setOcclusionMap().
Referenced by setMaterialProperties(), and setOcclusionMap().
|
slot |
Definition at line 1379 of file qquick3dprincipledmaterial.cpp.
References emit, opacity, opacityChanged(), and qFuzzyCompare().
|
slot |
Definition at line 1510 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and opacityChannelChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1390 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, opacityMap, opacityMapChanged(), and setOpacityMap().
Referenced by setOpacityMap().
|
slot |
Definition at line 1530 of file qquick3dprincipledmaterial.cpp.
References emit, pointSizeChanged(), and qFuzzyCompare().
|
slot |
Definition at line 1346 of file qquick3dprincipledmaterial.cpp.
References emit, qFuzzyCompare(), roughness, and roughnessChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1500 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and roughnessChannelChanged().
Referenced by setMaterialProperties().
|
slot |
Definition at line 1357 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, roughnessMap, roughnessMapChanged(), and setRoughnessMap().
Referenced by setMaterialProperties(), and setRoughnessMap().
|
slot |
Definition at line 1335 of file qquick3dprincipledmaterial.cpp.
References emit, qFuzzyCompare(), specularAmount, and specularAmountChanged().
|
slot |
Definition at line 1248 of file qquick3dprincipledmaterial.cpp.
References channel, emit, and specularChannelChanged().
|
slot |
Definition at line 1312 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, setSpecularMap(), specularMap, and specularMapChanged().
Referenced by setSpecularMap().
|
slot |
Definition at line 1300 of file qquick3dprincipledmaterial.cpp.
References QQuick3DObjectPrivate::attachWatcher(), emit, setSpecularReflectionMap(), specularReflectionMap, and specularReflectionMapChanged().
Referenced by setSpecularReflectionMap().
|
slot |
Definition at line 1238 of file qquick3dprincipledmaterial.cpp.
References emit, specularSingleChannelEnabled, and specularSingleChannelEnabledChanged().
|
slot |
Definition at line 1324 of file qquick3dprincipledmaterial.cpp.
References emit, qFuzzyCompare(), specularTint, and specularTintChanged().
float QQuick3DPrincipledMaterial::specularAmount | ( | ) | const |
Definition at line 1045 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DMaterial::TextureChannelMapping QQuick3DPrincipledMaterial::specularChannel | ( | ) | const |
Definition at line 1005 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::specularMap | ( | ) | const |
Definition at line 1035 of file qquick3dprincipledmaterial.cpp.
|
signal |
QQuick3DTexture * QQuick3DPrincipledMaterial::specularReflectionMap | ( | ) | const |
Definition at line 1030 of file qquick3dprincipledmaterial.cpp.
|
signal |
bool QQuick3DPrincipledMaterial::specularSingleChannelEnabled | ( | ) | const |
Definition at line 1000 of file qquick3dprincipledmaterial.cpp.
|
signal |
float QQuick3DPrincipledMaterial::specularTint | ( | ) | const |
Definition at line 1040 of file qquick3dprincipledmaterial.cpp.
|
signal |
|
overrideprotectedvirtual |
Reimplemented from QQuick3DMaterial.
Definition at line 1600 of file qquick3dprincipledmaterial.cpp.
References QSSGRenderDefaultMaterial::alphaCutoff, QSSGRenderDefaultMaterial::alphaMode, QSSGRenderDefaultMaterial::attenuationColor, QSSGRenderDefaultMaterial::attenuationDistance, QSSGRenderDefaultMaterial::baseColorChannel, QSSGRenderDefaultMaterial::baseColorSingleChannelEnabled, QSSGRenderDefaultMaterial::blendMode, QSSGRenderDefaultMaterial::bumpAmount, QSSGRenderDefaultMaterial::clearcoatAmount, QSSGRenderDefaultMaterial::clearcoatChannel, QSSGRenderDefaultMaterial::clearcoatFresnelBias, QSSGRenderDefaultMaterial::clearcoatFresnelPower, QSSGRenderDefaultMaterial::clearcoatFresnelScale, QSSGRenderDefaultMaterial::clearcoatFresnelScaleBiasEnabled, QSSGRenderDefaultMaterial::clearcoatMap, QSSGRenderDefaultMaterial::clearcoatNormalMap, QSSGRenderDefaultMaterial::clearcoatNormalStrength, QSSGRenderDefaultMaterial::clearcoatRoughnessAmount, QSSGRenderDefaultMaterial::clearcoatRoughnessChannel, QSSGRenderDefaultMaterial::clearcoatRoughnessMap, QSSGRenderDefaultMaterial::color, QSSGRenderDefaultMaterial::colorMap, QSSGRenderDefaultMaterial::emissiveChannel, QSSGRenderDefaultMaterial::emissiveColor, QSSGRenderDefaultMaterial::emissiveMap, QSSGRenderDefaultMaterial::emissiveSingleChannelEnabled, QSSGRenderDefaultMaterial::fresnelBias, QSSGRenderDefaultMaterial::fresnelPower, QSSGRenderDefaultMaterial::fresnelScale, QSSGRenderDefaultMaterial::fresnelScaleBiasEnabled, QQuick3DTexture::getRenderImage(), QSSGRenderDefaultMaterial::heightAmount, QSSGRenderDefaultMaterial::heightChannel, QSSGRenderDefaultMaterial::heightMap, QSSGRenderDefaultMaterial::invertOpacityMapValue, 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::specularAmountChannel, QSSGRenderDefaultMaterial::specularAmountSingleChannelEnabled, 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(), QSSGRenderDefaultMaterial::vertexColorAlphaMask, QSSGRenderDefaultMaterial::vertexColorBlueMask, QSSGRenderDefaultMaterial::vertexColorGreenMask, QSSGRenderDefaultMaterial::vertexColorRedMask, QSSGRenderDefaultMaterial::vertexColorsEnabled, and QSSGRenderDefaultMaterial::vertexColorsMaskEnabled.
|
readwrite |
Definition at line 71 of file qquick3dprincipledmaterial_p.h.
Referenced by setAlphaCutoff().
|
readwrite |
Definition at line 70 of file qquick3dprincipledmaterial_p.h.
Referenced by setAlphaMode().
|
readwrite |
Definition at line 105 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 104 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 32 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 35 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 33 of file qquick3dprincipledmaterial_p.h.
Referenced by setBaseColorMap().
|
readwrite |
Definition at line 34 of file qquick3dprincipledmaterial_p.h.
Referenced by setBaseColorSingleChannelEnabled().
|
readwrite |
Definition at line 30 of file qquick3dprincipledmaterial_p.h.
Referenced by setBlendMode().
|
readwrite |
Definition at line 82 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 84 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 118 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 119 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 117 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 116 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 83 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 92 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 94 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 86 of file qquick3dprincipledmaterial_p.h.
|
read |
Definition at line 88 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 90 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 54 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 51 of file qquick3dprincipledmaterial_p.h.
Referenced by setEmissiveFactor().
|
readwrite |
Definition at line 52 of file qquick3dprincipledmaterial_p.h.
Referenced by setEmissiveMap().
|
readwrite |
Definition at line 53 of file qquick3dprincipledmaterial_p.h.
Referenced by setEmissiveSingleChannelEnabled().
|
readwrite |
Definition at line 113 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 114 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 112 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 111 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 78 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 77 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 76 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 107 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 56 of file qquick3dprincipledmaterial_p.h.
Referenced by setInvertOpacityMapValue().
|
readwrite |
Definition at line 29 of file qquick3dprincipledmaterial_p.h.
Referenced by setLighting().
|
readwrite |
Definition at line 74 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 80 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 37 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 39 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 38 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 79 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 61 of file qquick3dprincipledmaterial_p.h.
Referenced by setNormalMap().
|
readwrite |
Definition at line 62 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 68 of file qquick3dprincipledmaterial_p.h.
Referenced by setOcclusionAmount().
|
readwrite |
Definition at line 67 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 66 of file qquick3dprincipledmaterial_p.h.
Referenced by setOcclusionMap().
|
readwrite |
Definition at line 57 of file qquick3dprincipledmaterial_p.h.
Referenced by setOpacity().
|
readwrite |
Definition at line 59 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 58 of file qquick3dprincipledmaterial_p.h.
Referenced by setOpacityMap().
|
readwrite |
Definition at line 73 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 47 of file qquick3dprincipledmaterial_p.h.
Referenced by setRoughness().
|
readwrite |
Definition at line 49 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 48 of file qquick3dprincipledmaterial_p.h.
Referenced by setRoughnessMap().
|
readwrite |
Definition at line 41 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularAmount().
|
readwrite |
Definition at line 45 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 42 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularMap().
|
readwrite |
Definition at line 64 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularReflectionMap().
|
readwrite |
Definition at line 44 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularSingleChannelEnabled().
|
readwrite |
Definition at line 43 of file qquick3dprincipledmaterial_p.h.
Referenced by setSpecularTint().
|
readwrite |
Definition at line 102 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 100 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 101 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 98 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 96 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 97 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 125 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 124 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 123 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 122 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 109 of file qquick3dprincipledmaterial_p.h.
|
readwrite |
Definition at line 121 of file qquick3dprincipledmaterial_p.h.