ExtrudedTextGeometry QML Type
ExtrudedTextGeometry consente di creare un testo 3D nello spazio tridimensionale. Maggiori informazioni...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QExtrudedTextGeometry |
| Status: | Deprecated |
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- depth : real
- font : font
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- text : string
Descrizione dettagliata
Il tipo ExtrudedTextGeometry viene utilizzato più comunemente internamente dal tipo ExtrudedTextMesh, ma può essere impiegato anche nei tipi personalizzati GeometryRenderer.
L'origine della geometria è l'estremità posteriore sinistra della linea di base del testo.
Documentazione delle proprietà
depth : real
Contiene la profondità di estrusione del testo.
font : font
Contiene il font del testo.
La geometria viene normalizzata in base al valore pointSize del font, quindi un valore pointSize maggiore produrrà un testo più liscio, piuttosto che più grande. Non si dovrebbe utilizzare pixelSize.
indexAttribute : Attribute [read-only]
Contiene l'attributo dell'indice geometrico.
normalAttribute : Attribute [read-only]
Contiene l'attributo "normale" della geometria.
positionAttribute : Attribute [read-only]
Contiene l'attributo di posizione della geometria.
text : string
Contiene il testo utilizzato per la mesh.
© 2026 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.