128 if (m_debugSettings ==
obj) {
129 m_debugSettings =
nullptr;
215 return m_antialiasingMode;
245 return m_antialiasingQuality;
360 return m_backgroundMode;
515 return m_aoSampleRate;
724 return m_probeExposure;
753 return m_probeHorizon;
769 return m_probeOrientation;
793 return m_temporalAAEnabled;
809 return m_temporalAAStrength;
833 return m_specularAAEnabled;
873 return m_depthTestEnabled;
899 return m_depthPrePassEnabled;
917 QQuick3DSceneEnvironment::qmlAppendEffect,
918 QQuick3DSceneEnvironment::qmlEffectsCount,
919 QQuick3DSceneEnvironment::qmlEffectAt,
920 QQuick3DSceneEnvironment::qmlClearEffects);
966 return m_tonemapMode;
984 return m_skyboxBlurAmount;
1011 return m_debugSettings;
1024 return m_scissorRect;
1175 m_probeOrientation = orientation;
1223 if (change == QQuick3DObject::ItemSceneChange)
1224 updateSceneManager(
value.sceneManager);
1258 m_temporalAAStrength = strength;
1263void QQuick3DSceneEnvironment::setSpecularAAEnabled(
bool enabled)
1265 if (m_specularAAEnabled ==
enabled)
1268 m_specularAAEnabled =
enabled;
1269 emit specularAAEnabledChanged();
1280 if (
effect->parentItem() ==
nullptr)
1281 effect->setParentItem(self);
1284 e->effectChainDirty();
1308void QQuick3DSceneEnvironment::setSkyboxBlurAmount(
float newSkyboxBlurAmount)
1310 newSkyboxBlurAmount =
qBound(0.0f, newSkyboxBlurAmount, 1.0f);
1315 m_skyboxBlurAmount = newSkyboxBlurAmount;
1316 emit skyboxBlurAmountChanged();
1341 return m_lightmapper;
1350 m_lightmapper->
disconnect(m_lightmapperSignalConnection);
1360 if (m_lightmapper ==
obj) {
1361 m_lightmapper =
nullptr;
1366 emit lightmapperChanged();
1379 return m_skyBoxCubeMap;
1384 if (m_skyBoxCubeMap == newSkyBoxCubeMap)
1389 m_skyBoxCubeMap = newSkyBoxCubeMap;
1390 emit skyBoxCubeMapChanged();
1395 if (m_debugSettings == newDebugSettings)
1398 if (m_debugSettings)
1399 m_debugSettings->
disconnect(m_debugSettingsSignalConnection);
1401 m_debugSettings = newDebugSettings;
1407 if (m_debugSettings ==
obj) {
1408 m_debugSettings =
nullptr;
1413 emit debugSettingsChanged();
1417void QQuick3DSceneEnvironment::setScissorRect(
QRect rect)
1419 if (m_scissorRect ==
rect)
1422 m_scissorRect =
rect;
1423 emit scissorRectChanged();
1429 return m_gridEnabled;
1434 if (m_gridEnabled == newGridEnabled)
1436 m_gridEnabled = newGridEnabled;
1449 m_gridScale = newGridScale;
1460 if (m_gridFlags == newGridFlags)
1462 m_gridFlags = newGridFlags;
1491void QQuick3DSceneEnvironment::setAoEnabled(
bool newAoEnabled)
1493 if (m_aoEnabled == newAoEnabled)
1496 m_aoEnabled = newAoEnabled;
1505 emit aoEnabledChanged();
1529void QQuick3DSceneEnvironment::setFog(
QQuick3DFog *fog)
The QColor class provides colors based on RGB, HSV or CMYK values.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
static bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *member)
\threadsafe
void destroyed(QObject *=nullptr)
This signal is emitted immediately before the object obj is destroyed, after any instances of QPointe...
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
void refSceneManager(QQuick3DSceneManager &)
static void attachWatcher(Context *context, Setter setter, Object3D *newO, Object3D *oldO)
Attach a object-destroyed-watcher to an object that's not owned.
\qmltype Object3D \inqmlmodule QtQuick3D \instantiates QQuick3DObject \inherits QtObject
QQuick3DDebugSettings * debugSettings
\qmlproperty QtQuick3D::DebugSettings QtQuick3D::SceneEnvironment::debugSettings
void setAoBias(float aoBias)
void antialiasingModeChanged()
QRect scissorRect
\qmlproperty rect QtQuick3D::SceneEnvironment::scissorRect
void probeExposureChanged()
void setAoDither(bool aoDither)
void setAoSampleRate(int aoSampleRate)
void setAoDistance(float aoDistance)
QQuick3DCubeMapTexture * skyBoxCubeMap
\qmlproperty QtQuick3D::CubeMapTexture QtQuick3D::SceneEnvironment::skyBoxCubeMap
void itemChange(ItemChange, const ItemChangeData &) override
void setTonemapMode(QQuick3DSceneEnvironment::QQuick3DEnvironmentTonemapModes tonemapMode)
void setProbeOrientation(const QVector3D &orientation)
float skyboxBlurAmount
\qmlproperty float QtQuick3D::SceneEnvironment::skyboxBlurAmount
~QQuick3DSceneEnvironment() override
void setBackgroundMode(QQuick3DSceneEnvironment::QQuick3DEnvironmentBackgroundTypes backgroundMode)
void setDepthPrePassEnabled(bool depthPrePassEnabled)
QQuick3DEnvironmentAAQualityValues
void depthTestEnabledChanged()
QQuick3DEnvironmentTonemapModes
QQuick3DSceneEnvironment(QQuick3DObject *parent=nullptr)
\qmltype SceneEnvironment \inherits Object3D \inqmlmodule QtQuick3D
QQuick3DEnvironmentAAModeValues antialiasingMode
QQuick3DEnvironmentBackgroundTypes
void setGridScale(float newGridScale)
void probeHorizonChanged()
void temporalAAEnabledChanged()
void setProbeHorizon(float probeHorizon)
QQuick3DTexture * lightProbe
void depthPrePassEnabledChanged()
void probeOrientationChanged()
QSSGRenderGraphObject * updateSpatialNode(QSSGRenderGraphObject *node) override
virtual const QVector< QQuick3DEffect * > & effectList() const
bool specularAAEnabled
\qmlproperty bool QtQuick3D::SceneEnvironment::specularAAEnabled
QQuick3DEnvironmentAAModeValues
QQuick3DEnvironmentTonemapModes tonemapMode
QQmlListProperty< QQuick3DEffect > effects
\qmlproperty List<QtQuick3D::Effect> QtQuick3D::SceneEnvironment::effects
void temporalAAStrengthChanged()
void setLightProbe(QQuick3DTexture *lightProbe)
void setGridEnabled(bool newGridEnabled)
void setAntialiasingQuality(QQuick3DSceneEnvironment::QQuick3DEnvironmentAAQualityValues antialiasingQuality)
void setAoStrength(float aoStrength)
QVector3D probeOrientation
void setAntialiasingMode(QQuick3DSceneEnvironment::QQuick3DEnvironmentAAModeValues antialiasingMode)
void setTemporalAAStrength(float strength)
void setClearColor(const QColor &clearColor)
void antialiasingQualityChanged()
void setTemporalAAEnabled(bool temporalAAEnabled)
virtual bool useBuiltinTonemapper() const
bool aoEnabled
\qmlproperty bool SceneEnvironment::aoEnabled
QQuick3DFog * fog
\qmlproperty QtQuick3D::Fog QtQuick3D::SceneEnvironment::fog
void aoSampleRateChanged()
QQuick3DEnvironmentBackgroundTypes backgroundMode
void backgroundModeChanged()
void setDepthTestEnabled(bool depthTestEnabled)
void tonemapModeChanged()
QQuick3DLightmapper * lightmapper
\qmlproperty Lightmapper QtQuick3D::SceneEnvironment::lightmapper
void setAoSoftness(float aoSoftness)
void setGridFlags(uint newGridFlags)
void setProbeExposure(float probeExposure)
QQuick3DEnvironmentAAQualityValues antialiasingQuality
\inmodule QtCore\reentrant
void clear()
Clears the contents of the string and makes it null.
qsizetype size() const
Returns the number of characters in this string.
void push_back(QChar c)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const QChar at(qsizetype i) const
Returns the character at the given index position in the string.
The QVector3D class represents a vector or vertex in 3D space.
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
bool qFuzzyCompare(qfloat16 p1, qfloat16 p2) noexcept
bool qFuzzyIsNull(qfloat16 f) noexcept
constexpr const T & qBound(const T &min, const T &val, const T &max)
GLenum GLenum GLsizei const GLuint GLboolean enabled
QGraphicsOpacityEffect * effect
the effect attached to this item
QNetworkAccessManager manager
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent