QLayerFilter Class
(Qt3DRender::QLayerFilter)Controls layers Drawn in a frame graph branch. 更多...
头文件: | #include <QLayerFilter> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.5 |
Instantiated By: | LayerFilter |
基类: | Qt3DRender::QFrameGraphNode |
公有函数
QLayerFilter(Qt3DCore::QNode *parent = nullptr) | |
void | addLayer(QLayer *layer) |
QVector<QLayer *> | layers() const |
void | removeLayer(QLayer *layer) |
- 1 个公有函数继承自 Qt3DRender::QFrameGraphNode
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
受保护的函数
QLayerFilter(QLayerFilterPrivate &dd, Qt3DCore::QNode *parent = nullptr) |
- 1 个受保护的函数继承自 Qt3DRender::QFrameGraphNode
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
其他继承的成员
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
Controls layers Drawn in a frame graph branch.
A Qt3DRender::QLayerFilter can be used to instruct the renderer as to which layer(s) to draw in that branch of the frame graph. The Qt3DRender::QLayerFilter selects which entities to draw based on the Qt3DRender::QLayer instances added to the QLayerFilter and as components to the Qt3DCore::QEntity.
成员函数
QLayerFilter::QLayerFilter(Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QLayerFilter.
[protected]
QLayerFilter::QLayerFilter(QLayerFilterPrivate &dd, Qt3DCore::QNode *parent = nullptr)
Copy constructor.
void QLayerFilter::addLayer(QLayer *layer)
Add layer to the current list of layers
QVector<QLayer *> QLayerFilter::layers() const
Returns the current list of layers
void QLayerFilter::removeLayer(QLayer *layer)
Remove layer from the current list of layers