ExtrudedTextGeometry QML Type
Provides geometry for extruded text. More...
Import Statement: | import QtQuick3D.Helpers |
Since: | Qt 6.9 |
Inherits: |
Properties
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 : float |
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 : float |
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 |
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.
© 2024 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.