SphereGeometry QML Type
SphereGeometry consente di creare una sfera nello spazio 3D. Maggiori informazioni...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QSphereGeometry |
| Status: | Deprecated |
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel codice nuovo.
Proprietà
- generateTangents : bool
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
Descrizione dettagliata
Il tipo SphereGeometry viene utilizzato principalmente internamente dal tipo SphereMesh, ma può essere impiegato anche nei tipi personalizzati GeometryRenderer.
Documentazione delle proprietà
generateTangents : bool
Contiene il valore del flag relativo alla generazione automatica dei vettori tangenti. I vettori tangenti sono ortogonali ai vettori normali.
indexAttribute : Attribute [read-only]
Contiene l'attributo dell'indice geometrico.
normalAttribute : Attribute [read-only]
Contiene l'attributo "normale" della geometria.
positionAttribute : Attribute [read-only]
Contiene l'attributo di posizione della geometria.
radius : real
Contiene il raggio della sfera.
rings : int
Contiene il numero di anelli presenti nella sfera.
slices : int
Contiene il numero di sezioni della sfera.
tangentAttribute : Attribute [read-only]
Contiene l'attributo "tangente" della geometria.
texCoordAttribute : Attribute [read-only]
Contiene l'attributo delle coordinate della texture geometrica.
© 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.