Skin QML Type
Define una animación de skinning. Más...
| Import Statement: | import QtQuick3D |
| Inherits: |
Propiedades
- inverseBindPoses : List<matrix4x4>
- joints : List<QtQuick3D::Node>
Descripción detallada
Un «skin» define cómo se puede animar un modelo mediante animación esquelética. Contiene una lista de « Node» y una lista opcional de «Inverse Bind Pose Matrices». Cada transformación de un « Node » se convierte en una transformación del hueso con el índice correspondiente de la lista.
Skin {
id: skin0
joints: [
node0,
node1,
node2
]
inverseBindPoses: [
Qt.matrix4x4(...),
Qt.matrix4x4(...),
Qt.matrix4x4(...)
]
}Documentación de propiedades
inverseBindPoses : List<matrix4x4>
Esta propiedad contiene una lista de matrices «Inverse Bind Pose» utilizadas para la animación de skinning. Cada matriz «inverseBindPose» corresponde a la inversa de la transformación global del nodo correspondiente en « Skin::joints », utilizada inicialmente.
Nota: Esta propiedad es opcional. Es decir, si no se definen algunas o todas las matrices, se utilizarán los valores de identidad.
joints : List<QtQuick3D::Node>
Esta propiedad contiene una lista de nodos utilizados para una jerarquía de articulaciones. El orden en la lista se convierte en el índice de la articulación, que se utiliza en la función « SkinSemantic » custom geometry attribute.
Nota: Se ignoraráel valor «undefined» y, si se describe un nodo que no existe, el resultado será impredecible.
Véase también QQuick3DGeometry::addAttribute y Qt Quick 3D - Ejemplo sencillo de skinning.
© 2026 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.