CapsuleShape QML Type
알약 모양을 정의합니다. 더 보기...
| Import Statement: | import QtQuick3D.Physics |
| Since: | Qt 6.4 |
| Inherits: |
속성
상세 설명
이 유형은 캡슐 모양을 정의합니다. 이는 양쪽 끝에 반구체가 있는 원통입니다. 원점은 캡슐의 중심에 위치합니다. 캡슐은 원통과 반구체의 지름을 결정하는 ` diameter`와 원통의 높이를 결정하는 ` height`로 지정됩니다.
참고: 이 도형에 크기 조정 변환을 적용할때 , x 성분은 높이를, y 성분은 지름을 조정하는 데 사용됩니다. 크기 조정 변환이 비균일하더라도 원통은 항상 완벽한 원형을 유지합니다.
참조: Qt Quick 3D Physics 도형, 바디 및 조인트.
속성 설명서
diameter : real
이 속성은 캡슐의 지름을 정의합니다
기본값: 100
height : real
이 속성은 캡슐의 높이를 정의합니다
기본값: 100
© 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.