CapsuleShape QML Type
알약 모양을 정의합니다. 더 보기...
Import Statement: | import QtQuick3D.Physics |
Since: | Qt 6.4 |
Inherits: |
속성
상세 설명
이 유형은 캡슐 모양을 정의합니다. 양쪽 끝에 반구가 있는 원통형입니다. 원점은 캡슐의 중앙에 있습니다. 캡슐은 원통과 반구의 지름을 결정하는 diameter 과 원통의 높이를 결정하는 height 으로 지정됩니다.
참고: 이 모양으로 크기 변환을 사용할 때 x 컴포넌트는 높이의 크기를 조정하는 데 사용되고 y 컴포넌트는 지름의 크기를 조정하는 데 사용됩니다. 원통은 배율 변환이 균일하지 않더라도 항상 완벽한 원형이 됩니다.
도형 및 도체 개요 문서를참조하세요 .
속성 문서
diameter : real |
이 속성은 캡슐의 지름을 정의합니다.
기본값입니다: 100
height : real |
이 속성은 캡슐의 높이를 정의합니다.
기본값입니다: 100
© 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.