Entity Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | Entity

Qt 5.6.2 Reference Documentation

# Entity Class

(Qt3DRender::Render::Entity)

Inherits: | Qt3DCore::QBackendNode

- List of all members, including inherited members

## Public Functions

| Entity()
| ~Entity()
void | addComponent(Qt3DCore::QComponent *component)
void | appendChildHandle(HEntity childHandle)
QVector<Entity *> | children() const
QVector<HEntity> | childrenHandles() const
void | cleanup()
Qt3DCore::QHandle<Backend, INDEXBITS> | componentHandle() const
Qt3DCore::QNodeId | componentUuid() const
QList<Qt3DCore::QHandle<Backend, INDEXBITS> > | componentsHandle() const
QList<Qt3DCore::QNodeId> | componentsUuid() const
void | dump() const
HEntity | handle() const
bool | hasChildren() const
bool | isBoundingVolumeDirty() const
bool | isEnabled() const
Sphere * | localBoundingVolume() const
Entity * | parent() const
HEntity | parentHandle() const
void | removeChildHandle(HEntity childHandle)
void | removeComponent(const Qt3DCore::QNodeId &nodeId)
Backend * | renderComponent() const
QList<Backend *> | renderComponents() const
void | sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)
void | setEnabled(bool isEnabled)
void | setHandle(HEntity handle)
void | setNodeManagers(NodeManagers *manager)
void | setParentHandle(HEntity parentHandle)
void | unsetBoundingVolumeDirty()
void | updateFromPeer(Qt3DCore::QNode *peer)
Sphere * | worldBoundingVolume() const
Sphere * | worldBoundingVolumeWithChildren() const
QMatrix4x4 * | worldTransform()
const QMatrix4x4 * | worldTransform() const

- 5 public functions inherited from Qt3DCore::QBackendNode

### Additional Inherited Members

- 3 protected functions inherited from Qt3DCore::QBackendNode

## Member Function Documentation

### Entity::Entity()

Default constructs an instance of Entity.

### Entity::~Entity()

Destroys the instance of Entity.

### void Entity::addComponent(Qt3DCore::QComponent *component)

### void Entity::appendChildHandle(HEntity childHandle)

### QVector<Entity *> Entity::children() const

### QVector<HEntity> Entity::childrenHandles() const

### void Entity::cleanup()

### Qt3DCore::QHandle<Backend, INDEXBITS> Entity::componentHandle() const

### Qt3DCore::QNodeId Entity::componentUuid() const

### QList<Qt3DCore::QHandle<Backend, INDEXBITS> > Entity::componentsHandle() const

### QList<Qt3DCore::QNodeId> Entity::componentsUuid() const

### void Entity::dump() const

### HEntity Entity::handle() const

See also setHandle().

### bool Entity::hasChildren() const

### bool Entity::isBoundingVolumeDirty() const

### bool Entity::isEnabled() const

### Sphere *Entity::localBoundingVolume() const

### Entity *Entity::parent() const

### HEntity Entity::parentHandle() const

See also setParentHandle().

### void Entity::removeChildHandle(HEntity childHandle)

### void Entity::removeComponent(const Qt3DCore::QNodeId &nodeId)

### Backend *Entity::renderComponent() const

### QList<Backend *> Entity::renderComponents() const

### void Entity::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)

### void Entity::setEnabled(bool isEnabled)

See also isEnabled().

### void Entity::setHandle(HEntity handle)

See also handle().

### void Entity::setNodeManagers(NodeManagers *manager)

### void Entity::setParentHandle(HEntity parentHandle)

See also parentHandle().

### void Entity::unsetBoundingVolumeDirty()

### void Entity::updateFromPeer(Qt3DCore::QNode *peer)

### Sphere *Entity::worldBoundingVolume() const

### Sphere *Entity::worldBoundingVolumeWithChildren() const

### QMatrix4x4 *Entity::worldTransform()

### const QMatrix4x4 *Entity::worldTransform() const