Kuesa::Qt3D::KuesaNode
Module: Kuesa Qt 3D API
Base class for nodes that require a Kuesa::Qt3D::SceneEnity for assets insertion or retrieval. More...
#include <Kuesa/Qt3D/api/kuesanode.h>
Inherits from Qt3DCore::QNode
Inherited by DriverAssistController, Kuesa::Qt3D::AnimationPlayer, Kuesa::Qt3D::Asset, Kuesa::Qt3D::GLTF2Importer, Kuesa::Qt3D::MeshInstantiator, Kuesa::Qt3D::PlaceholderTracker, Kuesa::Qt3D::TransformTracker, KuesaUtils::SceneConfiguration, KuesaUtils::ViewConfiguration, OSMRouter, ShowroomController
Public Slots
Public Signals
Public Functions
Public Properties
Protected Attributes
Detailed Description
| class Kuesa::Qt3D::KuesaNode;
|
Base class for nodes that require a Kuesa::Qt3D::SceneEnity for assets insertion or retrieval.
Since: Kuesa 2.0
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::Qt3D::SceneEntity is part of the hierarchy. If so and if no Kuesa::Qt3D::SceneEntity was provided by the user, it will set the sceneEntity property to that.
Public Slots Documentation
slot setSceneEntity
| void setSceneEntity(
Kuesa::Qt3D::SceneEntity * sceneEntity
)
|
Public Signals Documentation
signal sceneEntityChanged
| void sceneEntityChanged(
Kuesa::Qt3D::SceneEntity * sceneEntity
)
|
Public Functions Documentation
function KuesaNode
| explicit KuesaNode(
Qt3DCore::QNode * parent =nullptr
)
|
function sceneEntity
| SceneEntity * sceneEntity() const
|
Public Property Documentation
property sceneEntity
| Kuesa::Qt3D::SceneEntity * sceneEntity;
|
See: Kuesa::Qt3D::SceneEntity
Pointer to the SceneEntity with which assets are registered as they are loaded from the glTF file.
Protected Attributes Documentation
variable m_sceneEntity
| SceneEntity * m_sceneEntity = nullptr;
|
Updated on 2023-07-03 at 11:02:12 +0000