ExtrudedTextGeometry QML Type

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

Import Statement: import Qt3D.Extras 2.5
Instantiates: QExtrudedTextGeometry

Properties

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 : float

Holds the extrusion depth of the text.


font : QFont

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.


[read-only] indexAttribute : Attribute

Holds the geometry index attribute.


[read-only] normalAttribute : Attribute

Holds the geometry normal attribute.


[read-only] positionAttribute : Attribute

Holds the geometry position attribute.


text : QString

Holds the text used for the mesh.


© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.