TriangleMeshShape QML Type
3D 메시를 기반으로 한 충돌 형상. 더 보기...
| Import Statement: | import QtQuick3D.Physics |
| Since: | Qt 6.4 |
| Inherits: |
속성
상세 설명
이 유형은 QtQuick3D.Model 에서 사용하는 것과 동일한 3D 메쉬 파일 형식을 기반으로 한 형상을 정의합니다.
물리 시뮬레이션에 의해 제어되는 오브젝트는 TriangleMeshShape를 사용할 수 없습니다. 이 형식은 StaticRigidBody 및 kinematic bodies 에서만 사용할 수 있습니다. 비운동학적 동적 바디의 경우 ConvexMeshShape 를 사용하십시오.
Qt Quick 3D Physics 의 형상, 바디 및 조인트항목도 참조하십시오 .
속성 설명서
geometry : Geometry [since 6.7]
이 속성은 모양을 정의하는 데 사용되는 메시의 형상을 정의합니다.
참고: geometry 속성과 source 속성이 모두 설정된경우 , geometry 속성만 사용됩니다.
이 속성은 Qt 6.7에서 도입되었습니다.
' TriangleMeshShape::source' 항목도 참조하십시오 .
source : url
이 속성은 형상을 정의하는 데 사용되는 메쉬 파일의 위치를 지정합니다.
내부적으로 TriangleMeshShape 는 메시를 최적화된 데이터 구조로 변환합니다. 이 변환은 미리 수행할 수 있습니다. 자세한 내용은 'cooking' 개요 문서를 참조하십시오.
TriangleMeshShape::geometry항목도 참조하십시오 .
© 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.