Qt3DCore.QJoint¶
Used to transforms parts of skinned meshes. More…
New in version 5.10.
Synopsis¶
Functions¶
def
addChildJoint
(joint)def
childJoints
()def
inverseBindMatrix
()def
name
()def
removeChildJoint
(joint)def
rotation
()def
rotationX
()def
rotationY
()def
rotationZ
()def
scale
()def
translation
()
Slots¶
def
setInverseBindMatrix
(inverseBindMatrix)def
setName
(name)def
setRotation
(rotation)def
setRotationX
(rotationX)def
setRotationY
(rotationY)def
setRotationZ
(rotationZ)def
setScale
(scale)def
setToIdentity
()def
setTranslation
(translation)
Signals¶
def
inverseBindMatrixChanged
(inverseBindMatrix)def
nameChanged
(name)def
rotationChanged
(rotation)def
rotationXChanged
(rotationX)def
rotationYChanged
(rotationY)def
rotationZChanged
(rotationZ)def
scaleChanged
(scale)def
translationChanged
(translation)
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
withparent
.
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
addChildJoint
(joint)¶ - Parameters
joint –
QJoint
Adds
joint
as a child of this joint. Ifjoint
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
inverseBindMatrix –
QMatrix4x4
-
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
joint –
QJoint
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
rotation –
QQuaternion
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
rotationX
()¶ - Return type
float
See also
setRotationX()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
rotationXChanged
(rotationX)¶ - Parameters
rotationX –
float
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
rotationY
()¶ - Return type
float
See also
setRotationY()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
rotationYChanged
(rotationY)¶ - Parameters
rotationY –
float
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
rotationZ
()¶ - Return type
float
See also
setRotationZ()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
rotationZChanged
(rotationZ)¶ - Parameters
rotationZ –
float
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
scale
()¶ - Return type
QVector3D
See also
setScale()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
scaleChanged
(scale)¶ - Parameters
scale –
QVector3D
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
setInverseBindMatrix
(inverseBindMatrix)¶ - Parameters
inverseBindMatrix –
QMatrix4x4
See also
inverseBindMatrix()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
setName
(name)¶ - Parameters
name – unicode
See also
name()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
setRotation
(rotation)¶ - Parameters
rotation –
QQuaternion
See also
rotation()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
setRotationX
(rotationX)¶ - Parameters
rotationX –
float
See also
rotationX()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
setRotationY
(rotationY)¶ - Parameters
rotationY –
float
See also
rotationY()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
setRotationZ
(rotationZ)¶ - Parameters
rotationZ –
float
See also
rotationZ()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
setScale
(scale)¶ - Parameters
scale –
QVector3D
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
translation –
QVector3D
See also
translation()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
translation
()¶ - Return type
QVector3D
See also
setTranslation()
-
PySide2.Qt3DCore.Qt3DCore.QJoint.
translationChanged
(translation)¶ - Parameters
translation –
QVector3D
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.