class QCustom3DItem

Inheritance diagram of PySide6.QtGraphs.QCustom3DItem

Inherited by: QCustom3DVolume, QCustom3DLabel

Synopsis

Properties

Methods

Signals

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

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property meshFileᅟ: str
Access functions:
property positionᅟ: QVector3D
Access functions:
property positionAbsoluteᅟ: bool
Access functions:
property rotationᅟ: QQuaternion
Access functions:
property scalingᅟ: QVector3D
Access functions:
property scalingAbsoluteᅟ: bool
Access functions:
property shadowCastingᅟ: bool
Access functions:
property textureFileᅟ: str
Access functions:
property visibleᅟ: bool
Access functions:
__init__([parent=None])
Parameters:

parentQObject

__init__(meshFile, position, scaling, rotation, texture[, parent=None])
Parameters:
isPositionAbsolute()
Return type:

bool

Getter of property positionAbsoluteᅟ .

isScalingAbsolute()
Return type:

bool

Getter of property scalingAbsoluteᅟ .

isShadowCasting()
Return type:

bool

Getter of property shadowCastingᅟ .

isVisible()
Return type:

bool

Getter of property visibleᅟ .

meshFile()
Return type:

str

Getter of property meshFileᅟ .

meshFileChanged(meshFile)
Parameters:

meshFile – str

Notification signal of property meshFileᅟ .

needUpdate()
position()
Return type:

QVector3D

Getter of property positionᅟ .

positionAbsoluteChanged(positionAbsolute)
Parameters:

positionAbsolute – bool

Notification signal of property positionAbsoluteᅟ .

positionChanged(position)
Parameters:

positionQVector3D

Notification signal of property positionᅟ .

rotation()
Return type:

QQuaternion

Getter of property rotationᅟ .

rotationChanged(rotation)
Parameters:

rotationQQuaternion

Notification signal of property rotationᅟ .

scaling()
Return type:

QVector3D

Getter of property scalingᅟ .

scalingAbsoluteChanged(scalingAbsolute)
Parameters:

scalingAbsolute – bool

Notification signal of property scalingAbsoluteᅟ .

scalingChanged(scaling)
Parameters:

scalingQVector3D

Notification signal of property scalingᅟ .

setMeshFile(meshFile)
Parameters:

meshFile – str

Setter of property meshFileᅟ .

setPosition(position)
Parameters:

positionQVector3D

Setter of property positionᅟ .

setPositionAbsolute(positionAbsolute)
Parameters:

positionAbsolute – bool

Setter of property positionAbsoluteᅟ .

setRotation(rotation)
Parameters:

rotationQQuaternion

Setter of property rotationᅟ .

setRotationAxisAndAngle(axis, angle)
Parameters:
setScaling(scaling)
Parameters:

scalingQVector3D

Setter of property scalingᅟ .

setScalingAbsolute(scalingAbsolute)
Parameters:

scalingAbsolute – bool

Setter of property scalingAbsoluteᅟ .

setShadowCasting(enabled)
Parameters:

enabled – bool

Setter of property shadowCastingᅟ .

setTextureFile(textureFile)
Parameters:

textureFile – str

Setter of property textureFileᅟ .

setTextureImage(textureImage)
Parameters:

textureImageQImage

setVisible(visible)
Parameters:

visible – bool

Setter of property visibleᅟ .

shadowCastingChanged(shadowCasting)
Parameters:

shadowCasting – bool

Notification signal of property shadowCastingᅟ .

textureFile()
Return type:

str

Getter of property textureFileᅟ .

textureFileChanged(textureFile)
Parameters:

textureFile – str

Notification signal of property textureFileᅟ .

visibleChanged(visible)
Parameters:

visible – bool

Notification signal of property visibleᅟ .