이 페이지에서

SphereGeometry QML Type

SphereGeometry를 사용하면 3D 공간에서 구체를 생성할 수 있습니다. 더 보기...

Import Statement: import Qt3D.Extras 2.12
In C++: QSphereGeometry
Status: Deprecated

이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.

속성

상세 설명

SphereGeometry 유형은 주로 SphereMesh 유형에서 내부적으로 사용되지만, 사용자 정의 GeometryRenderer 유형에서도 사용할 수 있습니다.

속성 설명

generateTangents : bool

자동 접선 벡터 생성 플래그의 값을 저장합니다. 접선 벡터는 법선 벡터와 직각을 이룹니다.

indexAttribute : Attribute [read-only]

기하학적 인덱스 속성을 저장합니다.

normalAttribute : Attribute [read-only]

기하학적 법선 속성을 저장합니다.

positionAttribute : Attribute [read-only]

기하학적 위치 속성을 저장합니다.

radius : real

구체의 반지름을 저장합니다.

rings : int

구 안에 있는 고리의 개수를 저장합니다.

slices : int

구 내의 슬라이스 수를 저장합니다.

tangentAttribute : Attribute [read-only]

기하학적 도형의 접선 속성을 저장합니다.

texCoordAttribute : Attribute [read-only]

지오메트리 텍스처 좌표 속성을 저장합니다.

© 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.