QJoint

Used to transforms parts of skinned meshes. More

Inheritance diagram of PySide6.Qt3DCore.Qt3DCore.QJoint

New in version 5.10.

Synopsis

Functions

Detailed Description

The QJoint node is used to build skeletons as part of the skinned mesh support in Qt 3D. A joint can be transformed by way of its scale, rotation and translation properties. Any mesh vertices that are bound to the joint will have their transformations updated accordingly.

class PySide6.Qt3DCore.Qt3DCore.QJoint([parent=None])
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QJoint with parent.

PySide6.Qt3DCore.Qt3DCore.QJoint.addChildJoint(joint)
Parameters

jointPySide6.Qt3DCore.Qt3DCore.QJoint

Adds joint as a child of this joint. If joint has no parent, then this joint takes ownership of it. Child joints are in the coordinate system of their parent joint.

PySide6.Qt3DCore.Qt3DCore.QJoint.childJoints()
Return type

The vector of joints this joint has as children.

PySide6.Qt3DCore.Qt3DCore.QJoint.inverseBindMatrix()
Return type

PySide6.QtGui.QMatrix4x4

PySide6.Qt3DCore.Qt3DCore.QJoint.inverseBindMatrixChanged(inverseBindMatrix)
Parameters

inverseBindMatrixPySide6.QtGui.QMatrix4x4

PySide6.Qt3DCore.Qt3DCore.QJoint.name()
Return type

str

Returns the name of the joint.

See also

setName()

PySide6.Qt3DCore.Qt3DCore.QJoint.nameChanged(name)
Parameters

name – str

PySide6.Qt3DCore.Qt3DCore.QJoint.removeChildJoint(joint)
Parameters

jointPySide6.Qt3DCore.Qt3DCore.QJoint

Removes joint from this joint’s list of children. The child joint is not destroyed.

PySide6.Qt3DCore.Qt3DCore.QJoint.rotation()
Return type

PySide6.QtGui.QQuaternion

See also

setRotation()

PySide6.Qt3DCore.Qt3DCore.QJoint.rotationChanged(rotation)
Parameters

rotationPySide6.QtGui.QQuaternion

PySide6.Qt3DCore.Qt3DCore.QJoint.rotationX()
Return type

float

See also

setRotationX()

PySide6.Qt3DCore.Qt3DCore.QJoint.rotationXChanged(rotationX)
Parameters

rotationX – float

PySide6.Qt3DCore.Qt3DCore.QJoint.rotationY()
Return type

float

See also

setRotationY()

PySide6.Qt3DCore.Qt3DCore.QJoint.rotationYChanged(rotationY)
Parameters

rotationY – float

PySide6.Qt3DCore.Qt3DCore.QJoint.rotationZ()
Return type

float

See also

setRotationZ()

PySide6.Qt3DCore.Qt3DCore.QJoint.rotationZChanged(rotationZ)
Parameters

rotationZ – float

PySide6.Qt3DCore.Qt3DCore.QJoint.scale()
Return type

PySide6.QtGui.QVector3D

See also

setScale()

PySide6.Qt3DCore.Qt3DCore.QJoint.scaleChanged(scale)
Parameters

scalePySide6.QtGui.QVector3D

PySide6.Qt3DCore.Qt3DCore.QJoint.setInverseBindMatrix(inverseBindMatrix)
Parameters

inverseBindMatrixPySide6.QtGui.QMatrix4x4

PySide6.Qt3DCore.Qt3DCore.QJoint.setName(name)
Parameters

name – str

See also

name()

PySide6.Qt3DCore.Qt3DCore.QJoint.setRotation(rotation)
Parameters

rotationPySide6.QtGui.QQuaternion

See also

rotation()

PySide6.Qt3DCore.Qt3DCore.QJoint.setRotationX(rotationX)
Parameters

rotationX – float

See also

rotationX()

PySide6.Qt3DCore.Qt3DCore.QJoint.setRotationY(rotationY)
Parameters

rotationY – float

See also

rotationY()

PySide6.Qt3DCore.Qt3DCore.QJoint.setRotationZ(rotationZ)
Parameters

rotationZ – float

See also

rotationZ()

PySide6.Qt3DCore.Qt3DCore.QJoint.setScale(scale)
Parameters

scalePySide6.QtGui.QVector3D

See also

scale()

PySide6.Qt3DCore.Qt3DCore.QJoint.setToIdentity()

Sets the transform matrix for this joint to the identity matrix.

PySide6.Qt3DCore.Qt3DCore.QJoint.setTranslation(translation)
Parameters

translationPySide6.QtGui.QVector3D

See also

translation()

PySide6.Qt3DCore.Qt3DCore.QJoint.translation()
Return type

PySide6.QtGui.QVector3D

See also

setTranslation()

PySide6.Qt3DCore.Qt3DCore.QJoint.translationChanged(translation)
Parameters

translationPySide6.QtGui.QVector3D