Qt3DCore¶
Contains classes that are the foundation for Qt 3D simulation framework, as well as classes that provide the ability to render using the Qt 3D framework. More…
Synopsis¶
Static functions¶
def
qHash
(id[, seed=0])def
qIdForNode
(node)
Detailed Description¶
- PySide2.Qt3DCore.Qt3DCore.ChangeFlag¶
The types of change that can be sent and received by Qt3D’s change notification system.
Constant
Description
Qt3DCore.QSceneChange.NodeCreated
A new instance of a
QNode
subclass has been created.Qt3DCore.QSceneChange.NodeDeleted
A
QNode
has been deleted.Qt3DCore.QSceneChange.PropertyUpdated
A
QNode
property has been updated.Qt3DCore.QSceneChange.PropertyValueAdded
A
QNode
has been added to the scene.Qt3DCore.QSceneChange.PropertyValueRemoved
A
QNode
has been removed from the scene.Qt3DCore.QSceneChange.CommandRequested
A
QNodeCommand
has been sent between a node and its backend.Qt3DCore.QSceneChange.ComponentAdded
A
QComponent
has been added to aQEntity
.Qt3DCore.QSceneChange.ComponentRemoved
A
QComponent
has been removed from aQEntity
.Qt3DCore.QSceneChange.CallbackTriggered
A
QNode
triggered a callback.Qt3DCore.QSceneChange.AllChanges
Allows an observer to monitor for any of the above changes.
- static PySide2.Qt3DCore.Qt3DCore.qHash(id[, seed=0])¶
- Parameters:
seed –
uint
- Return type:
uint
Returns hash of node with
id
and optionalseed
.
- static PySide2.Qt3DCore.Qt3DCore.qIdForNode(node)¶
- Parameters:
- Return type:
Returns node id for
node
.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.