Q3DObject#
Inherited by: Q3DLight, Q3DCamera
Synopsis#
Properties#
Functions#
def
isDirty
()def
parentScene
()def
position
()def
setDirty
(dirty)def
setPosition
(position)
Virtual functions#
def
copyValuesFrom
(source)
Signals#
def
positionChanged
(position)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
- class PySide6.QtGraphs.Q3DObject([parent=None])#
- Parameters:
parent –
PySide6.QtCore.QObject
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtGraphs.Q3DObject.parentScene: PySide6.QtGraphs.Q3DScene#
- Access functions:
parentScene
()
- property PᅟySide6.QtGraphs.Q3DObject.position: PySide6.QtGui.QVector3D#
- Access functions:
position
()setPosition
(position)Signal
positionChanged
(position)
- PySide6.QtGraphs.Q3DObject.copyValuesFrom(source)#
- Parameters:
source –
PySide6.QtGraphs.Q3DObject
- PySide6.QtGraphs.Q3DObject.isDirty()#
- Return type:
bool
- PySide6.QtGraphs.Q3DObject.parentScene()#
- Return type:
Getter of property parentScene
.
- PySide6.QtGraphs.Q3DObject.position()#
- Return type:
Getter of property position
.
- PySide6.QtGraphs.Q3DObject.positionChanged(position)#
- Parameters:
position –
PySide6.QtGui.QVector3D
Notification signal of property position
.
- PySide6.QtGraphs.Q3DObject.setDirty(dirty)#
- Parameters:
dirty – bool
- PySide6.QtGraphs.Q3DObject.setPosition(position)#
- Parameters:
position –
PySide6.QtGui.QVector3D
Setter of property position
.