SphereGeometry QML Type
SphereGeometry allows creation of a sphere in 3D space. More...
Import Statement: | import Qt3D.Extras 2.0 |
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
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
indexAttribute : Attribute |
Holds the geometry index attribute.
normalAttribute : Attribute |
Holds the geometry normal attribute.
positionAttribute : Attribute |
Holds the geometry position attribute.
tangentAttribute : Attribute |
Holds the geometry tangent attribute.
texCoordAttribute : Attribute |
Holds the geometry texture coordinate attribute.