Qt3DCore.QJoint

Used to transforms parts of skinned meshes. More

Inheritance diagram of PySide2.Qt3DCore.Qt3DCore.QJoint

New in version 5.10.

Synopsis

Functions

Slots

Signals

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 PySide2.Qt3DCore.Qt3DCore.QJoint([parent=None])
param parent

QNode

Constructs a new QJoint with parent .

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

jointQJoint

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.

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

The vector of joints this joint has as children.

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

QMatrix4x4

See also

setInverseBindMatrix()

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

inverseBindMatrixQMatrix4x4

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

unicode

Returns the name of the joint.

See also

setName()

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

name – unicode

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

jointQJoint

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

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

QQuaternion

See also

setRotation()

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

rotationQQuaternion

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

float

See also

setRotationX()

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

rotationXfloat

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

float

See also

setRotationY()

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

rotationYfloat

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

float

See also

setRotationZ()

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

rotationZfloat

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

QVector3D

See also

setScale()

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

scaleQVector3D

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

inverseBindMatrixQMatrix4x4

See also

inverseBindMatrix()

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

name – unicode

See also

name()

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

rotationQQuaternion

See also

rotation()

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

rotationXfloat

See also

rotationX()

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

rotationYfloat

See also

rotationY()

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

rotationZfloat

See also

rotationZ()

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

scaleQVector3D

See also

scale()

PySide2.Qt3DCore.Qt3DCore.QJoint.setToIdentity()

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

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

translationQVector3D

See also

translation()

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

QVector3D

See also

setTranslation()

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

translationQVector3D