创建后端节点并映射到它们各自的前端节点。 更多...
头: | #include <Qt3DCore/QBackendNodeMapper> |
CMake: |
find_package(Qt6 COMPONENTS 3dcore REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::3dcore) |
qmake: | QT += 3dcore |
virtual Qt3DCore::QBackendNode * | create (Qt3DCore::QNodeId id ) const = 0 |
virtual void | destroy (Qt3DCore::QNodeId id ) const = 0 |
virtual Qt3DCore::QBackendNode * | get (Qt3DCore::QNodeId id ) const = 0 |
[pure virtual]
Qt3DCore::QBackendNode
*QBackendNodeMapper::
create
(
Qt3DCore::QNodeId
id
) const
id
返回创建节点。
[pure virtual]
void
QBackendNodeMapper::
destroy
(
Qt3DCore::QNodeId
id
) const
Destroys the backend node for the given node id .
[pure virtual]
Qt3DCore::QBackendNode
*QBackendNodeMapper::
get
(
Qt3DCore::QNodeId
id
) const
Returns backend node for the given node id .