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