Joint QML Type
Define un nodo en una jerarquía de animación esquelética. Más información...
| Import Statement: | import QtQuick3D |
| Inherits: |
Propiedades
- index : int
- skeletonRoot : Skeleton
Descripción detallada
Una articulación es un nodo transformable dentro de un Skeleton, que se utiliza para la animación esquelética. Se denomina «articulación» porque puede considerarse como una unión entre los huesos de un esqueleto.
Todas las articulaciones deben estar contenidas dentro de un esqueleto, y cada articulación debe tener un « skeletonRoot » que apunte a ese esqueleto.
Skeleton {
id: qmlskeleton
Joint {
id: joint0
index: 0
skeletonRoot: qmlskeleton
Joint {
id: joint1
index: 1
skeletonRoot: qmlskeleton
}
}
}Documentación de propiedades
index : int
Especifica el índice de esta articulación. Este valor de índice se utiliza en JointSemantic custom geometry attribute .
Nota: Los valoresde índice deben ser únicos dentro de la misma Skeleton.
Nota: No se pueden asignar valoresnegativos .
Véase también « QQuick3DGeometry::addAttribute » y «Qt Quick 3D - Ejemplo sencillo de skinning».
skeletonRoot : Skeleton
Especifica el « Skeleton » que contiene esta articulación.
Nota: Todos los « Joint» del « Skeleton » deben tener el mismo «skeletonRoot». De lo contrario, la animación no funcionará correctamente.
Véase también « Skeleton ».
© 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.