TorusGeometry QML Type | Qt 3D 5.6

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

Qt 5.6.2 Reference Documentation

# TorusGeometry QML Type

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

- List of all members, including inherited members

## Properties

- indexAttribute : Attribute
- minorRadius : float
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : float
- rings : int
- slices : int
- texCoordAttribute : Attribute

## Detailed Description

## Property Documentation

indexAttribute : Attribute

Holds the geometry index attribute.

minorRadius : float

Holds the inner radius of the torus.

normalAttribute : Attribute

Holds the geometry normal attribute.

positionAttribute : Attribute

Holds the geometry position attribute.

radius : float

Holds the outer radius of the torus.

rings : int

Holds the number of rings in the torus.

slices : int

Holds the number of slices in the torus.

texCoordAttribute : Attribute

Holds the geometry texture coordinate attribute.