Controls layers Drawn in a frame graph branch. 更多...
头: | #include <QLayerFilter> |
qmake: | QT += 3drender |
Since: | Qt 5.5 |
实例化: | LayerFilter |
继承: | Qt3DRender::QFrameGraphNode |
QLayerFilter (Qt3DCore::QNode * parent = nullptr) | |
void | addLayer (QLayer * layer ) |
QVector<QLayer *> | layers () const |
void | removeLayer (QLayer * layer ) |
QLayerFilter (QLayerFilterPrivate & dd , Qt3DCore::QNode * parent = nullptr) |
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 .
Default constructs an instance of QLayerFilter.
[protected]
QLayerFilter::
QLayerFilter
(
QLayerFilterPrivate
&
dd
,
Qt3DCore::QNode
*
parent
= nullptr)
Copy constructor.
添加 layer to the current list of layers
Returns the current list of layers
移除 layer from the current list of layers