CapsuleGeometry QML Type

A geometry for generating a capsule model. More...

Since: Qt 6.4
Inherits:

Geometry

Properties

Detailed Description

A geometry for generating a capsule model.

Property Documentation

diameter : real [default: 100]

Diameter on the xz plane.


enableNormals : bool [default: true]

Generate mesh face normals.


enableUV : bool [default: false]

Generate mesh uv coordinates.


height : real [default: 100]

Height of the middle cylinder on the y axis, excluding the hemispheres.


latitudes : int [default: 16]

Number of latitudes, distributed by inclination. Must be even.


longitudes : int [default: 32]

Number of longitudes, or meridians, distributed by azimuth.


rings : int [default: 1]

Number of sections in cylinder between hemispheres.