内容表

上一话题

Qt3DCore.QEntity

下一话题

Qt3DCore.QNode

Qt3DCore.QJoint

Used to transforms parts of skinned meshes. 更多 …

Inheritance diagram of PySide2.Qt3DCore.Qt3DCore.QJoint

New in version 5.10.

概要

槽

信号

详细描述

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

构造新 QJoint with parent .

PySide2.Qt3DCore.Qt3DCore.QJoint. addChildJoint ( joint )
参数

joint – QJoint

添加 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 ( )
返回类型

The vector of joints this joint has as children.

PySide2.Qt3DCore.Qt3DCore.QJoint. inverseBindMatrix ( )
返回类型

QMatrix4x4

PySide2.Qt3DCore.Qt3DCore.QJoint. inverseBindMatrixChanged ( inverseBindMatrix )
参数

inverseBindMatrix – QMatrix4x4

PySide2.Qt3DCore.Qt3DCore.QJoint. name ( )
返回类型

unicode

Returns the name of the joint.

另请参阅

setName()

PySide2.Qt3DCore.Qt3DCore.QJoint. nameChanged ( name )
参数

name – unicode

PySide2.Qt3DCore.Qt3DCore.QJoint. removeChildJoint ( joint )
参数

joint – QJoint

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

PySide2.Qt3DCore.Qt3DCore.QJoint. rotation ( )
返回类型

QQuaternion

另请参阅

setRotation()

PySide2.Qt3DCore.Qt3DCore.QJoint. rotationChanged ( rotation )
参数

rotation – QQuaternion

PySide2.Qt3DCore.Qt3DCore.QJoint. rotationX ( )
返回类型

float

另请参阅

setRotationX()

PySide2.Qt3DCore.Qt3DCore.QJoint. rotationXChanged ( rotationX )
参数

rotationX – float

PySide2.Qt3DCore.Qt3DCore.QJoint. rotationY ( )
返回类型

float

另请参阅

setRotationY()

PySide2.Qt3DCore.Qt3DCore.QJoint. rotationYChanged ( rotationY )
参数

rotationY – float

PySide2.Qt3DCore.Qt3DCore.QJoint. rotationZ ( )
返回类型

float

另请参阅

setRotationZ()

PySide2.Qt3DCore.Qt3DCore.QJoint. rotationZChanged ( rotationZ )
参数

rotationZ – float

PySide2.Qt3DCore.Qt3DCore.QJoint. scale ( )
返回类型

QVector3D

另请参阅

setScale()

PySide2.Qt3DCore.Qt3DCore.QJoint. scaleChanged ( scale )
参数

scale – QVector3D

PySide2.Qt3DCore.Qt3DCore.QJoint. setInverseBindMatrix ( inverseBindMatrix )
参数

inverseBindMatrix – QMatrix4x4

PySide2.Qt3DCore.Qt3DCore.QJoint. setName ( name )
参数

name – unicode

另请参阅

name()

PySide2.Qt3DCore.Qt3DCore.QJoint. setRotation ( rotation )
参数

rotation – QQuaternion

另请参阅

rotation()

PySide2.Qt3DCore.Qt3DCore.QJoint. setRotationX ( rotationX )
参数

rotationX – float

另请参阅

rotationX()

PySide2.Qt3DCore.Qt3DCore.QJoint. setRotationY ( rotationY )
参数

rotationY – float

另请参阅

rotationY()

PySide2.Qt3DCore.Qt3DCore.QJoint. setRotationZ ( rotationZ )
参数

rotationZ – float

另请参阅

rotationZ()

PySide2.Qt3DCore.Qt3DCore.QJoint. setScale ( scale )
参数

scale – QVector3D

另请参阅

scale()

PySide2.Qt3DCore.Qt3DCore.QJoint. setToIdentity ( )

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

PySide2.Qt3DCore.Qt3DCore.QJoint. setTranslation ( translation )
参数

translation – QVector3D

另请参阅

translation()

PySide2.Qt3DCore.Qt3DCore.QJoint. translation ( )
返回类型

QVector3D

另请参阅

setTranslation()

PySide2.Qt3DCore.Qt3DCore.QJoint. translationChanged ( translation )
参数

translation – QVector3D