Kuesa Runtime

KuesaNode Class

class Kuesa::KuesaNode

Base class for nodes that require a Kuesa::SceneEnity for assets * insertion or retrieval. * * The KuesaNode class is a convenience wrapper that handles setting a * SceneEntity property on a node. It also automatically traverse the QObject * tree hierarchy to find if a Kuesa::SceneEntity is part of the hierarchy. If * so and if no Kuesa::SceneEntity was provided by the user, it will set the * sceneEntity property to that. More...

Header: #include <Kuesa/KuesaNode>
Since: Kuesa 1.3
Instantiated By: KuesaNode
Inherited By:

Kuesa::AnimationPlayer, Kuesa::GLTF2Importer, Kuesa::MeshInstantiator, Kuesa::PlaceholderTracker, Kuesa::TransformTracker, KuesaUtils::SceneConfiguration, and KuesaUtils::ViewConfiguration

This class was introduced in Kuesa 1.3.

Properties

Public Functions

Kuesa::SceneEntity *sceneEntity() const

Public Slots

void setSceneEntity(Kuesa::SceneEntity *sceneEntity)

Signals

void sceneEntityChanged(Kuesa::SceneEntity *sceneEntity)

Detailed Description

* * * * * *

Property Documentation

sceneEntity : Kuesa::SceneEntity*

Pointer to the SceneEntity with which assets are registered as they are loaded from the glTF file.

Access functions:

Kuesa::SceneEntity *sceneEntity() const
void setSceneEntity(Kuesa::SceneEntity *sceneEntity)

Notifier signal:

void sceneEntityChanged(Kuesa::SceneEntity *sceneEntity)

See also Kuesa::SceneEntity.