QBackendNode Class

( Qt3DCore::QBackendNode )

The base class for all Qt3D backend nodes 更多...

头: #include <Qt3DCore/QBackendNode>
qmake: QT += 3dcore

公共类型

enum Mode { ReadOnly, ReadWrite }

公共函数

QBackendNode (Mode mode = ReadOnly)
virtual ~QBackendNode ()
bool isEnabled () const
模式 mode () const
QNodeId peerId () const
void setEnabled (bool enabled )

保护函数

void notifyObservers (const QSceneChangePtr & e )
virtual void sceneChangeEvent (const QSceneChangePtr & e )

详细描述

The base class for all Qt3D backend nodes

成员类型文档编制

enum QBackendNode:: Mode

The mode for the backend node.

常量
Qt3DCore::QBackendNode::ReadOnly 0
Qt3DCore::QBackendNode::ReadWrite 1

成员函数文档编制

QBackendNode:: QBackendNode ( 模式 mode = ReadOnly)

Default constructs an instance of QBackendNode.

[virtual] QBackendNode:: ~QBackendNode ()

Destroys the instance of QBackendNode. The destructor is virtual.

bool QBackendNode:: isEnabled () const

返回 true if the backend node is enabled.

模式 QBackendNode:: mode () const

Returns the mode of the backend mode.

[protected] void QBackendNode:: notifyObservers (const QSceneChangePtr & e )

Notifies observers of scene change e .

QNodeId QBackendNode:: peerId () const

Returns the peer id of the backend node.

[virtual protected] void QBackendNode:: sceneChangeEvent (const QSceneChangePtr & e )

TODO e

void QBackendNode:: setEnabled ( bool enabled )

Enables or disables the backend node by enabled .

另请参阅 isEnabled ().