Qt3DCore::QArmature Class
class Qt3DCore::QArmature스키닝 변환 행렬을 계산하고 셰이더에 적용하는 데 사용됩니다. 더 보기...
| 헤더: | #include <QArmature> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3DCore) target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
| qmake: | QT += 3dcore |
| QML에서: | Armature |
| 상속: | Qt3DCore::QComponent |
| 상태: | 사용 중단 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않도록 강력히 권장합니다.
속성
- skeleton : Qt3DCore::QAbstractSkeleton*
공개 함수
공개 슬롯
| void | setSkeleton(Qt3DCore::QAbstractSkeleton *skeleton) |
신호
| void | skeletonChanged(Qt3DCore::QAbstractSkeleton *skeleton) |
상세 설명
Armature 컴포넌트는 엔티티별로 집계되어, 스킨이 적용된 메시를 올바르게 렌더링하는 데 필요한 스키닝 변환 행렬의 팔레트를 계산할 수 있는 기능을 제공합니다.
스키닝된 메시의 각 버텍스는 스켈레톤 내의 최대 4개 관절에 연결(바인딩)됩니다. 버텍스에 영향을 미치는 각 조인트에 대해, 메시에는 해당 조인트의 영향 정도를 결정하는 가중치도 함께 제공됩니다. 스키닝된 버텍스의 변환을 수행하는 데 사용되는 스키닝 팔레트는 Armature에서 제공되며, 참조된 스켈레톤에 포함된 조인트를 바탕으로 계산됩니다.
관절의 로컬 변환을 업데이트하면 스키닝 행렬이 재계산되고, 해당 관절에 바인딩된 스키닝 메쉬의 정점들이 그에 따라 이동합니다.
속성 설명서
skeleton : Qt3DCore::QAbstractSkeleton*
스키닝 변환 행렬 팔레트를 계산하는 데 사용되는 스켈레톤을 보관합니다.
액세스 함수:
| Qt3DCore::QAbstractSkeleton * | skeleton() const |
| void | setSkeleton(Qt3DCore::QAbstractSkeleton *skeleton) |
알림 신호:
| void | skeletonChanged(Qt3DCore::QAbstractSkeleton *skeleton) |
멤버 함수 설명서
[explicit] QArmature::QArmature(Qt3DCore::QNode *parent = nullptr)
parent 를 사용하여 새로운 QArmature를 생성합니다.
© 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.