QDirectionalLight Class
(Qt3DRender::QDirectionalLight)Encapsulate a Directional Light object in a Qt 3D scene. 更多...
头文件: | #include <QDirectionalLight> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.7 |
Instantiated By: | DirectionalLight |
基类: | Qt3DRender::QAbstractLight |
属性
- worldDirection : QVector3D
- 3 个属性继承自 Qt3DRender::QAbstractLight
- 1 个属性继承自 Qt3DCore::QComponent
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QDirectionalLight(Qt3DCore::QNode *parent = nullptr) | |
QVector3D | worldDirection() const |
- 3 个公有函数继承自 Qt3DRender::QAbstractLight
- 2 个公有函数继承自 Qt3DCore::QComponent
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setWorldDirection(const QVector3D &worldDirection) |
- 2 个公有槽函数继承自 Qt3DRender::QAbstractLight
- 1 个公有槽函数继承自 Qt3DCore::QComponent
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | worldDirectionChanged(const QVector3D &worldDirection) |
- 2 个信号继承自 Qt3DRender::QAbstractLight
- 3 个信号继承自 Qt3DCore::QComponent
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
受保护的函数
QDirectionalLight(QDirectionalLightPrivate &dd, Qt3DCore::QNode *parent = nullptr) |
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
其他继承的成员
详细描述
Encapsulate a Directional Light object in a Qt 3D scene.
属性
worldDirection : QVector3D
Specifies the world direction of the directional light
访问函数:
QVector3D | worldDirection() const |
void | setWorldDirection(const QVector3D &worldDirection) |
Notifier signal:
void | worldDirectionChanged(const QVector3D &worldDirection) |
成员函数
QDirectionalLight::QDirectionalLight(Qt3DCore::QNode *parent = nullptr)
Constructs a new QDirectionalLight with the specified parent.
[protected]
QDirectionalLight::QDirectionalLight(QDirectionalLightPrivate &dd, Qt3DCore::QNode *parent = nullptr)
Copy constructor.