이 페이지에서

Skin QML Type

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

Import Statement: import QtQuick3D
Inherits:

Object3D

속성

상세 설명

스킨은 스켈레탈 애니메이션을 사용하여 모델에 애니메이션을 적용하는 방법을 정의합니다. 여기에는 Node목록과 선택 사항인 역바인딩 포즈 행렬(Inverse Bind Pose Matrices) 목록이 포함됩니다. 각 Node 의 변환은 목록에서 해당 인덱스를 가진 본의 변환이 됩니다.

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

참고: Skeleton 와 Joint 는 더 이상 사용되지 않을 예정입니다.

속성 문서

inverseBindPoses : List<matrix4x4>

이 속성에는 스키닝 애니메이션에 사용되는 역 바인드 포즈 행렬 목록이 포함되어 있습니다. 각 inverseBindPose 행렬은 초기 설정 시 ` Skin::joints`에 있는 해당 노드의 전역 변환의 역행렬을 의미합니다.

참고: 이 속성은 선택적 속성입니다. 즉, 행렬의 일부 또는 전부가 설정되지 않은 경우, 신분 행렬 값이 사용됩니다.

joints : List<QtQuick3D::Node>

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

참고: 'undefined'값은 무시되며, 존재하지 않는 노드가 지정된 경우 결과는 예측할 수 없습니다.

QQuick3DGeometry::addAttribute 및 Qt Quick 3D - 간단한 스키닝 예제도참조하십시오 .

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