Helper functions for the Extensions APIs. 更多...
头: | #include <QQuick3DExtensionHelpers> |
Since: | Qt 6.6 |
QSSGCameraId | getCameraId (const QQuick3DObject & camera ) |
QSSGNodeId | getNodeId (const QQuick3DObject & node ) |
QSSGResourceId | getResourceId (const QQuick3DObject & resource ) |
[static]
QSSGCameraId
QQuick3DExtensionHelpers::
getCameraId
(const
QQuick3DObject
&
camera
)
返回
QSSGCameraId
that can be used to retrieve the corresponding
camera
object in the engine.
[static]
QSSGNodeId
QQuick3DExtensionHelpers::
getNodeId
(const
QQuick3DObject
&
node
)
返回
QSSGNodeId
that can be used to retrieve the object in the engine corresponding to
node
.
[static]
QSSGResourceId
QQuick3DExtensionHelpers::
getResourceId
(const
QQuick3DObject
&
resource
)
返回
QSSGResourceId
that can be used to retrieve the corresponding
resource
object in the engine.