SphereGeometry QML Type
SphereGeometry allows creation of a sphere in 3D space. More...
Import Statement: | import Qt3D.Extras 2.5 |
Instantiates: | QSphereGeometry |
Properties
- generateTangents : bool
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
Detailed Description
The SphereGeometry type is most commonly used internally by the SphereMesh type but can also be used in custom GeometryRenderer types.
Property Documentation
generateTangents : bool |
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
[read-only] indexAttribute : Attribute |
Holds the geometry index attribute.
[read-only] normalAttribute : Attribute |
Holds the geometry normal attribute.
[read-only] positionAttribute : Attribute |
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.
[read-only] tangentAttribute : Attribute |
Holds the geometry tangent attribute.
[read-only] texCoordAttribute : Attribute |
Holds the geometry texture coordinate attribute.
© 2023 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.