CapsuleGeometry QML Type
캡슐의 기하 구조를 제공합니다. 더 보기...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.10 |
| Inherits: |
속성
- asynchronous : bool
- diameter : real
- enableNormals : bool
- enableUV : bool
- height : real
- latitudes : int
- longitudes : int
- rings : int
- status : bool
- uvProfile : UVProfile
상세 설명
캡슐 모델을 생성하기 위한 기하 구조입니다. 캡슐은 (0, 0, 0) 를 중심으로 하며, 캡슐의 높이는 x 방향으로 뻗어 있고 지름은 yz 평면에 위치합니다.
속성 설명
asynchronous : bool [default: true]
이 속성은 지오메트리 생성이 비동기적으로 이루어져야 하는지 여부를 나타냅니다.
diameter : real [default: 100]
yz 평면상의 직경.
enableNormals : bool [default: true]
메쉬 면의 법선 벡터를 생성합니다.
enableUV : bool [default: false]
메쉬의 UV 좌표를 생성합니다.
height : real [default: 100]
반구 부분을 제외한 x축 상의 중간 원통의 높이.
latitudes : int [default: 16]
경사각에 따른 위도 수. 항상 짝수로 반올림됩니다.
longitudes : int [default: 32]
방위각별로 분포된 경도(자오선)의 개수.
rings : int [default: 1]
반구들 사이의 실린더 내 단면 수.
status : bool [read-only]
이 속성은 'asynchronous'가 true일 때 지오메트리 생성의 상태를 나타냅니다.
| 상수 | 설명 |
|---|---|
CapsuleGeometry.Null | 지오메트리 생성이 시작되지 않았습니다. |
CapsuleGeometry.Ready | 지오메트리 생성이 완료되었습니다. |
CapsuleGeometry.Loading | 지오메트리 생성이 진행 중입니다. |
CapsuleGeometry.Error | 지오메트리 생성에 실패했습니다. |
uvProfile : UVProfile [default: CapsuleGeometry.Fixed]
캡슐의 길이를 따라 UV 좌표가 분포되는 방식.
| 상수 | 설명 |
|---|---|
CapsuleGeometry.Fixed | UV 텍스처의 상단 3분의 1은 북반구, 중간 3분의 1은 원통, 하단 3분의 1은 남반구입니다. |
CapsuleGeometry.Aspect | UV는 높이와 반지름의 비율을 따릅니다. |
CapsuleGeometry.Uniform | 위도와 고리의 비율에 따라 모든 UV 셀에 균일한 비율이 적용됩니다. |
© 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.