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 |
이 속성은 지오메트리 생성이 비동기식이어야 하는지 여부를 나타냅니다.
diameter : real |
yz 평면에서의 지름입니다.
enableNormals : bool |
메시 면 노멀을 생성합니다.
enableUV : bool |
메시 UV 좌표를 생성합니다.
height : real |
반구를 제외한 x축에서 가운데 원통의 높이입니다.
latitudes : int |
경사도에 따라 분포된 위도 수입니다. 항상 짝수로 스냅됩니다.
longitudes : int |
방위각에 따라 분포된 경도 또는 자오선의 수입니다.
rings : int |
반구 사이의 원통형 섹션 수입니다.
status : bool |
이 프로퍼티는 비동기가 참일 때 지오메트리 생성 상태를 유지합니다.
Constant | 설명 |
---|---|
CapsuleGeometry.Null | 지오메트리 생성이 시작되지 않았습니다. |
CapsuleGeometry.Ready | 지오메트리 생성이 완료되었습니다. |
CapsuleGeometry.Loading | 지오메트리 생성이 진행 중입니다. |
CapsuleGeometry.Error | 지오메트리 생성에 실패했습니다. |
uvProfile : UVProfile |
캡슐의 길이를 따라 UV 좌표가 분포되는 방식입니다.
상수 | 설명 |
---|---|
CapsuleGeometry.Fixed | UV 텍스처의 위쪽 1/3은 북반구, 중간 1/3은 원통, 마지막 1/3은 남반구입니다. |
CapsuleGeometry.Aspect | UV는 높이와 반경 비율을 일치시킵니다. |
CapsuleGeometry.Uniform | 위도와 고리의 비율에 따라 모든 UV 셀에 대해 균일한 비율을 적용합니다. |
© 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.