QBackendNode Class

class Qt3DCore::QBackendNode

すべての Qt3D バックエンドノードの基本クラスです。詳細...

ヘッダー #include <Qt3DCore/QBackendNode>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake: QT += 3dcore
ステータス非推奨

パブリックな型

enum Mode { ReadOnly, ReadWrite }

パブリック関数

bool isEnabled() const
Qt3DCore::QBackendNode::Mode mode() const
Qt3DCore::QNodeId peerId() const
void setEnabled(bool enabled)
virtual void syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime)

詳細説明

メンバー型ドキュメント

enum QBackendNode::Mode

バックエンドノードのモード。

定数
Qt3DCore::QBackendNode::ReadOnly0
Qt3DCore::QBackendNode::ReadWrite1

メンバ関数ドキュメント

[noexcept] bool QBackendNode::isEnabled() const

バックエンドノードが有効な場合はtrue を返す。

[noexcept] Qt3DCore::QBackendNode::Mode QBackendNode::mode() const

バックエンドモードのモードを返します。

[noexcept] Qt3DCore::QNodeId QBackendNode::peerId() const

バックエンドノードのピア ID を返します。

[noexcept] void QBackendNode::setEnabled(bool enabled)

enabled によってバックエンドノードを有効または無効にする。

isEnabled()も参照

[virtual] void QBackendNode::syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime)

QBackendNode::syncFromFrontEndfrontEnd firstTime

これは、frontEnd ノードがバックエンドとその変更を同期する必要があるときに、アスペクトによって呼び出されます (通常はプロパティの変更による)。

firstTime バックエンドノードが作成されたばかりの場合はtrueになります。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.