IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QBackendNode Class

The base class for all Qt3D backend nodes.

This class was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QBackendNode Class

  • Header: Qt3DCore/QBackendNode

  • Since: Qt 5.7

  • qmake: QT += 3dcore

  • Inherited By:

Detailed Description

 

Member Type Documentation

 

enum QBackendNode::Mode

The mode for the backend node.

Constant

Qt3DCore::QBackendNode::ReadOnly

0

Qt3DCore::QBackendNode::ReadWrite

1

Member Function Documentation

 

bool QBackendNode::isEnabled() const

Returns true if the backend node is enabled.

Qt3DCore::QBackendNode::Mode QBackendNode::mode() const

Returns the mode of the backend mode.

Qt3DCore::QNodeId QBackendNode::peerId() const

Returns the peer id of the backend node.

void QBackendNode::setEnabled(bool enabled)

Enables or disables the backend node by enabled.

See Also

See also isEnabled()

Obsolete Members for QBackendNode

The following members of class QBackendNode are deprecated. We strongly advise against using them in new code.

Obsolete Member Function Documentation

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

This function is deprecated. We strongly advise against using it in new code.

Notifies observers of scene change e.

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

This function is deprecated. We strongly advise against using it in new code.

[protected] QNodeCommand::CommandId QBackendNode::sendCommand(const QString &name, const QVariant &data, QNodeCommand::CommandId replyTo = QNodeCommand::CommandId())

This function is deprecated. We strongly advise against using it in new code.

Send the command named name with contents data, and specify replyTo as the command id to which the reply needs to be sent.

[protected] void QBackendNode::sendReply(const Qt3DCore::QNodeCommandPtr &command)

This function is deprecated. We strongly advise against using it in new code.

Send the reply to command.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+