QEnvironmentLight Class
(Qt3DRender::QEnvironmentLight)Encapsulate an environment light object in a Qt 3D scene. 更多...
头文件: | #include <QEnvironmentLight> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.9 |
Instantiated By: | EnvironmentLight |
基类: | Qt3DCore::QComponent |
属性
- irradiance : Qt3DRender::QAbstractTexture *
- specular : Qt3DRender::QAbstractTexture *
- 1 个属性继承自 Qt3DCore::QComponent
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QEnvironmentLight(Qt3DCore::QNode *parent = nullptr) | |
~QEnvironmentLight() | |
Qt3DRender::QAbstractTexture * | irradiance() const |
Qt3DRender::QAbstractTexture * | specular() const |
- 2 个公有函数继承自 Qt3DCore::QComponent
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setIrradiance(Qt3DRender::QAbstractTexture *irradiance) |
void | setSpecular(Qt3DRender::QAbstractTexture *specular) |
- 1 个公有槽函数继承自 Qt3DCore::QComponent
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | irradianceChanged(Qt3DRender::QAbstractTexture *environmentIrradiance) |
void | specularChanged(Qt3DRender::QAbstractTexture *environmentSpecular) |
- 3 个信号继承自 Qt3DCore::QComponent
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
受保护的函数
QEnvironmentLight(QEnvironmentLightPrivate &dd, Qt3DCore::QNode *parent = nullptr) |
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
其他继承的成员
详细描述
Encapsulate an environment light object in a Qt 3D scene.
属性
irradiance : Qt3DRender::QAbstractTexture *
Holds the current environment irradiance map texture.
By default, the environment irradiance texture is null.
访问函数:
Qt3DRender::QAbstractTexture * | irradiance() const |
void | setIrradiance(Qt3DRender::QAbstractTexture *irradiance) |
Notifier signal:
void | irradianceChanged(Qt3DRender::QAbstractTexture *environmentIrradiance) |
specular : Qt3DRender::QAbstractTexture *
Holds the current environment specular map texture.
By default, the environment specular texture is null.
访问函数:
Qt3DRender::QAbstractTexture * | specular() const |
void | setSpecular(Qt3DRender::QAbstractTexture *specular) |
Notifier signal:
void | specularChanged(Qt3DRender::QAbstractTexture *environmentSpecular) |
成员函数
QEnvironmentLight::QEnvironmentLight(Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QEnvironmentLight.
[protected]
QEnvironmentLight::QEnvironmentLight(QEnvironmentLightPrivate &dd, Qt3DCore::QNode *parent = nullptr)
Copy constructor.
QEnvironmentLight::~QEnvironmentLight()
Destroys the instance of QEnvironmentLight.