Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qssgrtutilities_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5
6#ifndef QSSG_RUNTIME_UTILITIES_H
7#define QSSG_RUNTIME_UTILITIES_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtQuick3DAssetUtils/private/qtquick3dassetutilsglobal_p.h>
21
22#include <QtCore/qstring.h>
23
24QT_BEGIN_NAMESPACE
25
26class QQuick3DNode;
27class QQuick3DObject;
28class QObject;
29
30namespace QSSGSceneDesc
31{
32struct Scene;
33struct Node;
34struct Property;
35}
36
38{
39
40Q_QUICK3DASSETUTILS_EXPORT QQuick3DNode *createScene(QQuick3DNode &parent, const QSSGSceneDesc::Scene &scene, QSSGRuntimeObjectNameMap *objectMap = nullptr, QSSGRuntimeObjectTypeMap *typeMap = nullptr);
41Q_QUICK3DASSETUTILS_EXPORT void createGraphObject(QSSGSceneDesc::Node &node, QQuick3DObject &parent, QString path, QSSGRuntimeObjectNameMap *objectMap = nullptr, QSSGRuntimeObjectTypeMap *typeMap = nullptr, bool traverseChildrenAndSetProperties = true);
42Q_QUICK3DASSETUTILS_EXPORT void applyPropertyValue(const QSSGSceneDesc::Node *node, QObject *obj, QSSGSceneDesc::Property *property);
43}
44
45QT_END_NAMESPACE
46
47#endif // QSSG_RUNTIME_UTILITIES_H
The QVector2D class represents a vector or vertex in 2D space.
Definition qvectornd.h:36
The QVector3D class represents a vector or vertex in 3D space.
Definition qvectornd.h:180
The QVector4D class represents a vector or vertex in 4D space.
Definition qvectornd.h:343
Q_QUICK3DASSETUTILS_EXPORT void createGraphObject(QSSGSceneDesc::Node &node, QQuick3DObject &parent, QString path, QSSGRuntimeObjectNameMap *objectMap=nullptr, QSSGRuntimeObjectTypeMap *typeMap=nullptr, bool traverseChildrenAndSetProperties=true)
Q_QUICK3DASSETUTILS_EXPORT void applyPropertyValue(const QSSGSceneDesc::Node *node, QObject *obj, QSSGSceneDesc::Property *property)
Combined button and popup list for selecting options.
GraphObjectType * createRuntimeObject(NodeType &node, QQuick3DObject &parent)
static void setProperties(QQuick3DObject &obj, const QSSGSceneDesc::Node &node, const QString &workingDir={})