Skin QML Type

스키닝 애니메이션을 정의합니다. 더 보기...

Import Statement: import QtQuick3D
Inherits:

Object3D

속성

자세한 설명

스킨은 스켈레탈 애니메이션을 사용하여 모델에 애니메이션을 적용하는 방법을 정의합니다. 여기에는 Node의 목록과 역 바인드 포즈 매트릭스의 선택적 목록이 포함됩니다. 각 Node 의 트랜스폼은 목록에서 해당 인덱스가 있는 뼈의 트랜스폼이 됩니다.

Skin {
    id: skin0
    joints: [
        node0,
        node1,
        node2
    ]
    inverseBindPoses: [
        Qt.matrix4x4(...),
        Qt.matrix4x4(...),
        Qt.matrix4x4(...)
    ]
}

참고: SkeletonJoint 은 더 이상 사용되지 않습니다.

프로퍼티 문서

inverseBindPoses : List<matrix4x4>

이 프로퍼티에는 스키닝 애니메이션에 사용되는 역 바인드 포즈 매트릭스 목록이 포함되어 있습니다. 각 inverseBindPose 행렬은 처음에 사용된 Skin::joints 에서 해당 노드의 글로벌 트랜스폼의 역을 의미합니다.

참고: 이 프로퍼티는 선택적 프로퍼티입니다. 즉, 행렬의 일부 또는 전부가 설정되지 않은 경우 아이덴티티 값이 사용됩니다.


joints : List<QtQuick3D::Node>

이 속성에는 조인트 계층 구조에 사용되는 노드 목록이 포함되어 있습니다. 목록의 순서는 SkinSemantic custom geometry attribute 에서 사용되는 조인트의 인덱스가 됩니다.

참고: '정의되지 않음' 값은 무시되며 존재하지 않는 노드를 설명하면 결과를 예측할 수 없습니다.

QQuick3DGeometry::addAttributeQt Quick 3D - 간단한 스키닝 예시도참조하세요 .


© 2025 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.