- Qt 6.9
- Qt 3D
- QML Types
- Qt3D.Extras (Deprecated)
- ExtrudedTextGeometry
- Qt 6.9.0 Reference Documentation

# ExtrudedTextGeometry QML Type

ExtrudedTextGeometry allows creation of a 3D text in 3D space. More...

Import Statement: | `import Qt3D.Extras 2.9`
In C++: | QExtrudedTextGeometry
Status: | Deprecated

- List of all members, including inherited members

## Properties

- depth : real
- font : font
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- text : string

## Detailed Description

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

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

## Property Documentation

depth : real

Holds the extrusion depth of the text.

font : font

Holds the font of the text.

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

indexAttribute : Attribute `[read-only]`

Holds the geometry index attribute.

normalAttribute : Attribute `[read-only]`

Holds the geometry normal attribute.

positionAttribute : Attribute `[read-only]`

Holds the geometry position attribute.

text : string

Holds the text used for the mesh.