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

Qt3DCore Namespace

Contains classes that are the foundation for Qt 3D simulation framework, as well as classes that provide the ability to render using the Qt 3D framework.

This namespace was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt3DCore Namespace▲

  • Header: Qt3DCore

  • Since: Qt 5.7

  • qmake: QT += 3dcore

  • Group: Qt3DCore is part of qt3d-namespaces

Detailed Description▲

 

Namespaces▲

 

[since 5.7] namespace Qt3DCore::Quick▲

This namespace was introduced in Qt 5.7.

Classes▲

 

class QAbstractAspect▲

QAbstractAspect is the base class for aspects that provide a vertical slice of behavior.

class QAbstractSkeleton▲

A skeleton contains the joints for a skinned mesh.

class QArmature▲

Used to calculate skinning transform matrices and set them on shaders.

class QAspectEngine▲

Responsible for handling all the QAbstractAspect subclasses that have been registered with the scene.

class QAspectJob▲

The base class for jobs executed in an aspect.

class QBackendNode▲

The base class for all Qt3D backend nodes.

class QBackendNodeMapper▲

Creates and maps backend nodes to their respective frontend nodes.

class QComponent▲

The base class of scene nodes that can be aggregated by Qt3DCore::QEntity instances as a component.

class QComponentAddedChange▲

The QComponentAddedChange class is used to notify when a component is added to an entity.

class QComponentRemovedChange▲

The QComponentRemovedChange class is used to notify when a component is removed from an entity.

class QDynamicPropertyUpdatedChange▲

The QDynamicPropertyUpdatedChange class is used to notify when a dynamic property value is updated.

class QEntity▲

Qt3DCore::QEntity is a Qt3DCore::QNode subclass that can aggregate several Qt3DCore::QComponent instances that will specify its behavior.

class QJoint▲

Used to transforms parts of skinned meshes.

class QNode▲

QNode is the base class of all Qt3D node classes used to build a Qt3D scene.

class QNodeCommand▲

The QNodeCommand class is the base class for all CommandRequested QSceneChange events.

class QNodeCreatedChange▲

Used to notify when a node is created.

class QNodeCreatedChangeBase▲

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events.

class QNodeDestroyedChange▲

Used to notify when a node is destroyed.

class QNodeId▲

Uniquely identifies a QNode.

class QPropertyNodeAddedChange▲

Used to notify when a node is added to a property.

class QPropertyNodeRemovedChange▲

The QPropertyNodeRemovedChange class is used to notify when a node is removed from a property.

class QPropertyUpdatedChange▲

The QPropertyUpdatedChange class is used to notify when a property value is updated.

class QPropertyUpdatedChangeBase▲

The QPropertyUpdatedChangeBase class is the base class for all PropertyUpdated QSceneChange events.

class QPropertyValueAddedChange▲

Used to notify when a value is added to a property.

class QPropertyValueAddedChangeBase▲

The QPropertyValueAddedChangeBase class is the base class for all PropertyValueAdded QSceneChange events.

class QPropertyValueRemovedChange▲

Used to notify when a value is added to a property.

class QPropertyValueRemovedChangeBase▲

The QPropertyValueRemovedChangeBase class is the base class for all PropertyValueRemoved QSceneChange events.

class QSceneChange▲

The base class for changes that can be sent and received by Qt3D's change notification system.

class QSkeleton▲

Holds the data for a skeleton to be used with skinned meshes.

class QSkeletonLoader▲

Used to load a skeleton of joints from file.

class QStaticPropertyUpdatedChangeBase▲

The QStaticPropertyUpdatedChangeBase class is the base class for all static PropertyUpdated QSceneChange events.

class QStaticPropertyValueAddedChangeBase▲

The QStaticPropertyValueAddedChangeBase class is the base class for all static PropertyValueAdded QSceneChange events.

class QStaticPropertyValueRemovedChangeBase▲

The QStaticPropertyValueRemovedChangeBase class is the base class for all static PropertyValueRemoved QSceneChange events.

class QTransform▲

Used to perform transforms on meshes.

Type Documentation▲

 

QAspectJobPtr▲

A shared pointer for QAspectJob.

QBackendNodeMapperPtr▲

A shared pointer for QBackendNodeMapper.

QComponentAddedChangePtr▲

A shared pointer for QComponentAddedChange.

QComponentRemovedChangePtr▲

A shared pointer for QComponentRemovedChange.

QComponentVector▲

List of QComponent pointers.

QDynamicPropertyUpdatedChangePtr▲

A shared pointer for QDynamicPropertyUpdatedChange.

QEntityPtr▲

A shared pointer for QEntity.

QNodeCommandPtr▲

A shared pointer for QNodeCommand.

QNodeCreatedChangeBasePtr▲

A shared pointer for QNodeCreatedChangeBase.

QNodeDestroyedChangePtr▲

A shared pointer for QNodeDestroyedChange.

QNodeIdVector▲

A vector of QNodeIds.

QNodePtr▲

A shared pointer for QNode.

QNodeVector▲

List of QNode pointers.

QPropertyNodeAddedChangePtr▲

A shared pointer for QPropertyNodeAddedChange.

QPropertyNodeRemovedChangePtr▲

A shared pointer for QPropertyNodeRemovedChange.

QPropertyUpdatedChangeBasePtr▲

A shared pointer for QPropertyUpdatedChangeBase.

QPropertyUpdatedChangePtr▲

A shared pointer for QPropertyUpdatedChange.

QPropertyValueAddedChangeBasePtr▲

A shared pointer for QPropertyValueAddedChangeBase.

QPropertyValueAddedChangePtr▲

A shared pointer for QPropertyValueAddedChange.

QPropertyValueRemovedChangeBasePtr▲

A shared pointer for QPropertyValueRemovedChangeBase.

QPropertyValueRemovedChangePtr▲

A shared pointer for QPropertyValueRemovedChange.

QSceneChangePtr▲

A shared pointer for QSceneChange.

QStaticPropertyUpdatedChangeBasePtr▲

A shared pointer for QStaticPropertyUpdatedChangeBase.

Function Documentation▲

 

uint qHash(Qt3DCore::QNodeId id, uint seed = 0)▲

Returns hash of node with id and optional seed.

Qt3DCore::QNodeId qIdForNode(Qt3DCore::QNode *node)▲

Returns node id for node.

Qt3DCore::QNodeIdVector qIdsForNodes(const T &nodes)▲

Returns vector of node ids for nodes.

QDebug Qt3DCore::operator<<(QDebug d, Qt3DCore::QNodeId id)▲

<< with d and id. Returns QDebug.

Obsolete Members for Qt3DCore▲

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

Obsolete Type Documentation▲

 
enum ChangeFlag▲

flags Qt3DCore::ChangeFlags

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

The types of change that can be sent and received by Qt3D's change notification system.

Constant

Value

Description

Qt3DCore::QSceneChange::NodeCreated

1 << 0

A new instance of a QNode subclass has been created.

Qt3DCore::QSceneChange::NodeDeleted

1 << 1

A QNode has been deleted.

Qt3DCore::QSceneChange::PropertyUpdated

1 << 2

A QNode property has been updated.

Qt3DCore::QSceneChange::PropertyValueAdded

1 << 3

A QNode has been added to the scene.

Qt3DCore::QSceneChange::PropertyValueRemoved

1 << 4

A QNode has been removed from the scene.

Qt3DCore::QSceneChange::CommandRequested

1 << 7

A QNodeCommand has been sent between a node and its backend.

Qt3DCore::QSceneChange::ComponentAdded

1 << 5

A QComponent has been added to a QEntity.

Qt3DCore::QSceneChange::ComponentRemoved

1 << 6

A QComponent has been removed from a QEntity.

Qt3DCore::QSceneChange::CallbackTriggered

1 << 8

A QNode triggered a callback.

Qt3DCore::QSceneChange::AllChanges

0xFFFFFFFF

Allows an observer to monitor for any of the above changes.

The ChangeFlags type is a typedef for QFlags<ChangeFlag>. It stores an OR combination of ChangeFlag values.

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