Qt3DCore Namespace | Qt 3D | Qt 6.12.0
Description: 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.
Keywords: namespace

- Qt 6.12
- Qt 3D
- Qt3DCore Namespace
- Qt 6.12.0 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>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS 3DCore)` `target_link_libraries(mytarget PRIVATE Qt6::3DCore)`
qmake: | `QT += 3dcore`
Status: | Deprecated

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

- Deprecated members

## Types

| QAspectJobPtr
| QBackendNodeMapperPtr
| QBufferPtr
| QComponentVector
| QEntityPtr
| QNodeIdVector
| QNodePtr
| QNodeVector

## Functions

qintptr | functorTypeId()
size_t | qHash(Qt3DCore::QNodeId id, size_t seed = 0)
Qt3DCore::QNodeId | qIdForNode(Qt3DCore::QNode *node)
Qt3DCore::QNodeIdVector | qIdsForNodes(const T &nodes)
QDebug | operator<<(QDebug d, Qt3DCore::QNodeId id)

## Detailed Description

## Type Documentation

### QAspectJobPtr

A shared pointer for QAspectJob.

### QBackendNodeMapperPtr

A shared pointer for QBackendNodeMapper.

### QBufferPtr

### `[alias]` QComponentVector

List of QComponent pointers.

### QEntityPtr

A shared pointer for QEntity.

### `[alias]` QNodeIdVector

A vector of QNodeIds.

### `[alias]` QNodePtr

A shared pointer for QNode.

### `[alias]` QNodeVector

List of QNode pointers.

## Function Documentation

### template <typename T> qintptr Qt3DCore::functorTypeId()

Returns a pointer to the type id of the functor.

### `[constexpr noexcept]` size_t qHash(Qt3DCore::QNodeId id, size_t seed = 0)

Returns hash of node with id and optional seed.

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

Returns node id for node.

### template <typename T> 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.