Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquick3dextensionhelpers.cpp
Go to the documentation of this file.
1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
5#include "qquick3dobject_p.h"
6
8
18{
19
20}
21
27
29{
30 // NOTE: Implementation detail (don't rely on this in user code).
31 return quintptr(QQuick3DObjectPrivate::get(&node)->spatialNode);
32}
33
39
41{
42 // NOTE: Implementation detail (don't rely on this in user code).
43 return quintptr(QQuick3DObjectPrivate::get(&resource)->spatialNode);
44}
45
static QSSGResourceId getResourceId(const QQuick3DObject &resource)
static QSSGNodeId getNodeId(const QQuick3DObject &node)
static QQuick3DObjectPrivate * get(QQuick3DObject *item)
\qmltype Object3D \inqmlmodule QtQuick3D \instantiates QQuick3DObject \inherits QtObject
Combined button and popup list for selecting options.
quintptr QSSGResourceId
quintptr QSSGNodeId
size_t quintptr
Definition qtypes.h:72