- Qt 6.8
- Qt 3D
- QML Types
- Qt3D.Extras (Deprecated)
- CylinderGeometry
- Qt 6.8.3 Reference Documentation

# CylinderGeometry QML Type

CylinderGeometry allows creation of a cylinder in 3D space. More...

Import Statement: | `import Qt3D.Extras 2.8`
In C++: | QCylinderGeometry
Status: | Deprecated

- List of all members, including inherited members

## Properties

- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- texCoordAttribute : Attribute

## Detailed Description

The CylinderGeometry type is most commonly used internally by the CylinderMesh type but can also be used in custom GeometryRenderer types.

## Property Documentation

indexAttribute : Attribute `[read-only]`

Holds the geometry index attribute.

length : real

Holds the length of the cylinder.

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 cylinder.

rings : int

Holds the number of rings in the cylinder.

slices : int

Holds the number of slices in the cylinder.

texCoordAttribute : Attribute `[read-only]`

Holds the geometry texture coordinate attribute.