ExtrudedTextGeometry QML Type | Qt Quick 3D | Qt 6.10.3
Description: Provides geometry for extruded text.

- Qt 6.10
- Qt Quick 3D
- QML Types
- QtQuick3D.Helpers
- ExtrudedTextGeometry
- Qt Quick 3D | Commercial or GPLv3

# ExtrudedTextGeometry QML Type

Provides geometry for extruded text. More...

Import Statement: | `import QtQuick3D.Helpers`
Since: | Qt 6.9
Inherits: | Geometry

- List of all members, including inherited members

## Properties

- asynchronous : bool
- depth : real
- font : font
- scale : real
- status : bool
- text : string

## Detailed Description

ExtrudedTextGeometry provides geometry for extruded text. The text is extruded along the z-axis. The text and font can be set, and the depth of the extrusion can be controlled. The size of the generated geometry is controlled by the scale and depth properties. The topology of the geometry is defined by the font.pointSize.

The origin of the mesh is the rear left end of the text's baseline.

## Property Documentation

asynchronous : bool

This property holds whether the geometry generation should be asynchronous.

depth : real

This property holds the depth of the extrusion.

font : font

This property holds the font that will be used to render the text.

Note: The mesh geometry is normalized by the font's pointSize, so a larger pointSize will result in smoother, rather than larger, text. pixelSize should not be used.

scale : real

This property holds a scalar value of how the geometry should be scaled. This property only affects the size of the text, not the depth of the extrusion.

status : bool `[read-only]`

This property holds the status of the geometry generation when asynchronous is true.

Constant | Description
--- | ---
`ExtrudedTextGeometry.Null` | The geometry generation has not started
`ExtrudedTextGeometry.Ready` | The geometry generation is complete.
`ExtrudedTextGeometry.Loading` | The geometry generation is in progress.
`ExtrudedTextGeometry.Error` | The geometry generation failed.

text : string

This property holds the text that will be extruded.