Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGRuntimeUtils Namespace Reference

Functions

Q_QUICK3DASSETUTILS_EXPORT QQuick3DNodecreateScene (QQuick3DNode &parent, const QSSGSceneDesc::Scene &scene)
 
Q_QUICK3DASSETUTILS_EXPORT void createGraphObject (QSSGSceneDesc::Node &node, QQuick3DObject &parent, bool traverseChildrenAndSetProperties=true)
 
Q_QUICK3DASSETUTILS_EXPORT void applyPropertyValue (const QSSGSceneDesc::Node *node, QObject *obj, QSSGSceneDesc::Property *property)
 

Function Documentation

◆ applyPropertyValue()

QT_BEGIN_NAMESPACE void QSSGRuntimeUtils::applyPropertyValue ( const QSSGSceneDesc::Node * node,
QObject * obj,
QSSGSceneDesc::Property * property )

Definition at line 23 of file qssgrtutilities.cpp.

References QUrl::fromUserInput(), QVariant::fromValue(), head(), i, QSSGSceneDesc::Scene::id, QUrl::isValid(), QSSGSceneDesc::Node::name, o, QSSGSceneDesc::Node::obj, QUrl::path(), QMetaType::PointerToQObject, property, qDebug, qMetaTypeId(), qWarning, QSSGBufferManager::runtimeMeshSourceName(), scene, QSSGSceneDesc::Node::scene, QString::split(), str, and url.

Referenced by QSSGQmlUtilities::setProperty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createGraphObject()

void QSSGRuntimeUtils::createGraphObject ( QSSGSceneDesc::Node & node,
QQuick3DObject & parent,
bool traverseChildrenAndSetProperties = true )

Definition at line 255 of file qssgrtutilities.cpp.

References camera, QSSGSceneDesc::Node::children, createGraphObject(), createRuntimeObject< QQuick3DTextureData >(), QSSGSceneDesc::Node::nodeType, QSSGSceneDesc::Node::obj, qWarning, QSSGSceneDesc::Node::runtimeType, and setProperties().

Referenced by createGraphObject(), and createScene().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createScene()

QQuick3DNode * QSSGRuntimeUtils::createScene ( QQuick3DNode & parent,
const QSSGSceneDesc::Scene & scene )

Definition at line 352 of file qssgrtutilities.cpp.

References createGraphObject(), QSSGQmlUtilities::createTimelineAnimation(), QQuick3DObjectPrivate::get(), Q_ASSERT, qWarning, QSSGBufferManager::registerMeshData(), scene, and setProperties().

+ Here is the call graph for this function: