QCustom3DItem#
Inherited by: QCustom3DVolume, QCustom3DLabel
Synopsis#
Properties#
Functions#
def
isPositionAbsolute
()def
isScalingAbsolute
()def
isShadowCasting
()def
isVisible
()def
meshFile
()def
position
()def
rotation
()def
scaling
()def
setMeshFile
(meshFile)def
setPosition
(position)def
setPositionAbsolute
(positionAbsolute)def
setRotation
(rotation)def
setRotationAxisAndAngle
(axis, angle)def
setScaling
(scaling)def
setScalingAbsolute
(scalingAbsolute)def
setShadowCasting
(enabled)def
setTextureFile
(textureFile)def
setTextureImage
(textureImage)def
setVisible
(visible)def
textureFile
()
Signals#
def
meshFileChanged
(meshFile)def
needUpdate
()def
positionAbsoluteChanged
(positionAbsolute)def
positionChanged
(position)def
rotationChanged
(rotation)def
scalingAbsoluteChanged
(scalingAbsolute)def
scalingChanged
(scaling)def
shadowCastingChanged
(shadowCasting)def
textureFileChanged
(textureFile)def
visibleChanged
(visible)
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.QCustom3DItem([parent=None])#
PySide6.QtGraphs.QCustom3DItem(meshFile, position, scaling, rotation, texture[, parent=None])
- Parameters:
position –
PySide6.QtGui.QVector3D
scaling –
PySide6.QtGui.QVector3D
rotation –
PySide6.QtGui.QQuaternion
meshFile – str
texture –
PySide6.QtGui.QImage
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.QCustom3DItem.meshFile: str#
- Access functions:
meshFile
()setMeshFile
(meshFile)Signal
meshFileChanged
(meshFile)
- property PᅟySide6.QtGraphs.QCustom3DItem.position: PySide6.QtGui.QVector3D#
- Access functions:
position
()setPosition
(position)Signal
positionChanged
(position)
- property PᅟySide6.QtGraphs.QCustom3DItem.positionAbsolute: bool#
- Access functions:
setPositionAbsolute
(positionAbsolute)Signal
positionAbsoluteChanged
(positionAbsolute)
- property PᅟySide6.QtGraphs.QCustom3DItem.rotation: PySide6.QtGui.QQuaternion#
- Access functions:
rotation
()setRotation
(rotation)Signal
rotationChanged
(rotation)
- property PᅟySide6.QtGraphs.QCustom3DItem.scaling: PySide6.QtGui.QVector3D#
- Access functions:
scaling
()setScaling
(scaling)Signal
scalingChanged
(scaling)
- property PᅟySide6.QtGraphs.QCustom3DItem.scalingAbsolute: bool#
- Access functions:
setScalingAbsolute
(scalingAbsolute)Signal
scalingAbsoluteChanged
(scalingAbsolute)
- property PᅟySide6.QtGraphs.QCustom3DItem.shadowCasting: bool#
- Access functions:
setShadowCasting
(enabled)Signal
shadowCastingChanged
(shadowCasting)
- property PᅟySide6.QtGraphs.QCustom3DItem.textureFile: str#
- Access functions:
textureFile
()setTextureFile
(textureFile)Signal
textureFileChanged
(textureFile)
- property PᅟySide6.QtGraphs.QCustom3DItem.visible: bool#
- Access functions:
isVisible
()setVisible
(visible)Signal
visibleChanged
(visible)
- PySide6.QtGraphs.QCustom3DItem.isPositionAbsolute()#
- Return type:
bool
Getter of property positionAbsolute
.
- PySide6.QtGraphs.QCustom3DItem.isScalingAbsolute()#
- Return type:
bool
Getter of property scalingAbsolute
.
- PySide6.QtGraphs.QCustom3DItem.isShadowCasting()#
- Return type:
bool
Getter of property shadowCasting
.
- PySide6.QtGraphs.QCustom3DItem.isVisible()#
- Return type:
bool
Getter of property visible
.
- PySide6.QtGraphs.QCustom3DItem.meshFile()#
- Return type:
str
Getter of property meshFile
.
- PySide6.QtGraphs.QCustom3DItem.meshFileChanged(meshFile)#
- Parameters:
meshFile – str
Notification signal of property meshFile
.
- PySide6.QtGraphs.QCustom3DItem.needUpdate()#
- PySide6.QtGraphs.QCustom3DItem.position()#
- Return type:
Getter of property position
.
- PySide6.QtGraphs.QCustom3DItem.positionAbsoluteChanged(positionAbsolute)#
- Parameters:
positionAbsolute – bool
Notification signal of property positionAbsolute
.
- PySide6.QtGraphs.QCustom3DItem.positionChanged(position)#
- Parameters:
position –
PySide6.QtGui.QVector3D
Notification signal of property position
.
- PySide6.QtGraphs.QCustom3DItem.rotation()#
- Return type:
Getter of property rotation
.
- PySide6.QtGraphs.QCustom3DItem.rotationChanged(rotation)#
- Parameters:
rotation –
PySide6.QtGui.QQuaternion
Notification signal of property rotation
.
- PySide6.QtGraphs.QCustom3DItem.scaling()#
- Return type:
Getter of property scaling
.
- PySide6.QtGraphs.QCustom3DItem.scalingAbsoluteChanged(scalingAbsolute)#
- Parameters:
scalingAbsolute – bool
Notification signal of property scalingAbsolute
.
- PySide6.QtGraphs.QCustom3DItem.scalingChanged(scaling)#
- Parameters:
scaling –
PySide6.QtGui.QVector3D
Notification signal of property scaling
.
- PySide6.QtGraphs.QCustom3DItem.setMeshFile(meshFile)#
- Parameters:
meshFile – str
Setter of property meshFile
.
- PySide6.QtGraphs.QCustom3DItem.setPosition(position)#
- Parameters:
position –
PySide6.QtGui.QVector3D
Setter of property position
.
- PySide6.QtGraphs.QCustom3DItem.setPositionAbsolute(positionAbsolute)#
- Parameters:
positionAbsolute – bool
Setter of property positionAbsolute
.
- PySide6.QtGraphs.QCustom3DItem.setRotation(rotation)#
- Parameters:
rotation –
PySide6.QtGui.QQuaternion
Setter of property rotation
.
- PySide6.QtGraphs.QCustom3DItem.setRotationAxisAndAngle(axis, angle)#
- Parameters:
axis –
PySide6.QtGui.QVector3D
angle – float
- PySide6.QtGraphs.QCustom3DItem.setScaling(scaling)#
- Parameters:
scaling –
PySide6.QtGui.QVector3D
Setter of property scaling
.
- PySide6.QtGraphs.QCustom3DItem.setScalingAbsolute(scalingAbsolute)#
- Parameters:
scalingAbsolute – bool
Setter of property scalingAbsolute
.
- PySide6.QtGraphs.QCustom3DItem.setShadowCasting(enabled)#
- Parameters:
enabled – bool
Setter of property shadowCasting
.
- PySide6.QtGraphs.QCustom3DItem.setTextureFile(textureFile)#
- Parameters:
textureFile – str
Setter of property textureFile
.
- PySide6.QtGraphs.QCustom3DItem.setTextureImage(textureImage)#
- Parameters:
textureImage –
PySide6.QtGui.QImage
- PySide6.QtGraphs.QCustom3DItem.setVisible(visible)#
- Parameters:
visible – bool
Setter of property visible
.
- PySide6.QtGraphs.QCustom3DItem.shadowCastingChanged(shadowCasting)#
- Parameters:
shadowCasting – bool
Notification signal of property shadowCasting
.
- PySide6.QtGraphs.QCustom3DItem.textureFile()#
- Return type:
str
Getter of property textureFile
.
- PySide6.QtGraphs.QCustom3DItem.textureFileChanged(textureFile)#
- Parameters:
textureFile – str
Notification signal of property textureFile
.
- PySide6.QtGraphs.QCustom3DItem.visibleChanged(visible)#
- Parameters:
visible – bool
Notification signal of property visible
.