Qt3DCore Namespace | Qt 3D 5.13.2

Qt 5.13 | Qt 3D | Qt3DCore Namespace

Qt 5.13.2 Reference Documentation

# 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. More...

Header: | #include <Qt3DCore>
qmake: | QT += 3dcore

## Classes

class | QNodeCreatedChange

## Types

enum | ChangeFlag { NodeCreated, NodeDeleted, PropertyUpdated, PropertyValueAdded, ..., AllChanges }
typedef | QAspectJobPtr
typedef | QBackendNodeMapperPtr
typedef | QComponentAddedChangePtr
typedef | QComponentRemovedChangePtr
typedef | QComponentVector
typedef | QDynamicPropertyUpdatedChangePtr
typedef | QEntityPtr
typedef | QNodeCommandPtr
typedef | QNodeCreatedChangeBasePtr
typedef | QNodeDestroyedChangePtr
typedef | QNodePtr
typedef | QNodeVector
typedef | QPropertyNodeAddedChangePtr
typedef | QPropertyNodeRemovedChangePtr
typedef | QPropertyUpdatedChangeBasePtr
typedef | QPropertyUpdatedChangePtr
typedef | QPropertyValueAddedChangeBasePtr
typedef | QPropertyValueAddedChangePtr
typedef | QPropertyValueRemovedChangeBasePtr
typedef | QPropertyValueRemovedChangePtr
typedef | QStaticPropertyUpdatedChangeBasePtr

## Functions

int | qIdForNode(Qt3DCore::QNode *)
int | qIdsForNodes(const T &)

## Detailed Description

## Classes

### class QNodeCreatedChange

Used to notify when a node is created. More...

## Type Documentation

### enum ChangeFlag

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.

### typedef QAspectJobPtr

A shared pointer for QAspectJob.

### typedef QBackendNodeMapperPtr

A shared pointer for QBackendNodeMapper.

### typedef QComponentAddedChangePtr

A shared pointer for QComponentAddedChange.

### typedef QComponentRemovedChangePtr

A shared pointer for QComponentRemovedChange.

### typedef QComponentVector

List of QComponent pointers.

### typedef QDynamicPropertyUpdatedChangePtr

A shared pointer for QDynamicPropertyUpdatedChange.

### typedef QEntityPtr

A shared pointer for QEntity.

### typedef QNodeCommandPtr

A shared pointer for QNodeCommand.

### typedef QNodeCreatedChangeBasePtr

A shared pointer for QNodeCreatedChangeBase.

### typedef QNodeDestroyedChangePtr

A shared pointer for QNodeDestroyedChange.

### typedef QNodePtr

A shared pointer for QNode.

### typedef QNodeVector

List of QNode pointers.

### typedef QPropertyNodeAddedChangePtr

A shared pointer for QPropertyNodeAddedChange.

### typedef QPropertyNodeRemovedChangePtr

A shared pointer for QPropertyNodeRemovedChange.

### typedef QPropertyUpdatedChangeBasePtr

A shared pointer for QPropertyUpdatedChangeBase.

### typedef QPropertyUpdatedChangePtr

A shared pointer for QPropertyUpdatedChange.

### typedef QPropertyValueAddedChangeBasePtr

A shared pointer for QPropertyValueAddedChangeBase.

### typedef QPropertyValueAddedChangePtr

A shared pointer for QPropertyValueAddedChange.

### typedef QPropertyValueRemovedChangeBasePtr

A shared pointer for QPropertyValueRemovedChangeBase.

### typedef QPropertyValueRemovedChangePtr

A shared pointer for QPropertyValueRemovedChange.

### typedef QStaticPropertyUpdatedChangeBasePtr

A shared pointer for QStaticPropertyUpdatedChangeBase.

## Function Documentation

### int qIdForNode(Qt3DCore::QNode *)

Returns node id for node.

### int qIdsForNodes(const T &)

Returns vector of node ids for nodes.