SphereGeometry allows creation of a sphere in 3D space. More...
| Import Statement: | import Qt3D.Extras 2.9
|
| In C++: | QSphereGeometry |
| Status: | Deprecated |
The SphereGeometry type is most commonly used internally by the SphereMesh type but can also be used in custom GeometryRenderer types.
generateTangents : bool
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
indexAttribute : Attribute [read-only]
Holds the geometry index attribute.
normalAttribute : Attribute [read-only]
Holds the geometry normal attribute.
positionAttribute : Attribute [read-only]
Holds the geometry position attribute.
radius : real
Holds the radius of the sphere.
rings : int
Holds the number of rings in the sphere.
slices : int
Holds the number of slices in the sphere.
tangentAttribute : Attribute [read-only]
Holds the geometry tangent attribute.
texCoordAttribute : Attribute [read-only]
Holds the geometry texture coordinate attribute.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qml-qt3d-extras-spheregeometry.html