Entity Class

(Qt3DRender::Render::Entity)

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

Additional Inherited Members

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