SphereGeometry QML Type | Qt 3D 5.6

Qt 5.6 | Qt 3D | QML Types | SphereGeometry QML Type

Qt 5.6.0 Reference Documentation

# SphereGeometry QML Type

Import Statement: | import Qt3D.Render 2.0
Instantiates: | QSphereGeometry

- List of all members, including inherited members

## Properties

- generateTangents : bool
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : float
- rings : int
- slices : int
- tangentAttribute : Attribute
- texCoordAttribute : Attribute

## Detailed Description

## Property Documentation

generateTangents : bool

Holds the value of the automatic tangent generation flag.

indexAttribute : Attribute

Holds the geometry index attribute.

normalAttribute : Attribute

Holds the geometry normal attribute.

positionAttribute : Attribute

Holds the geometry position attribute.

radius : float

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

Holds the geometry tangent attribute.

texCoordAttribute : Attribute

Holds the geometry texture coordinate attribute.