Text2DEntity QML Type
Text2DEntity permite crear un texto 2D en un espacio 3D. Más...
| Import Statement: | import Qt3D.Extras 2.11 |
| In C++: | QText2DEntity |
| Status: | Deprecated |
Propiedades
Descripción detallada
Text2DEntity renderiza texto como triángulos en el plano XY. La geometría se encajará en el rectángulo de anchura y altura especificadas. Si la geometría resultante es más ancha que la anchura especificada, el resto se renderizará en la nueva línea.
La entidad puede posicionarse en la escena añadiendo un componente de transformación.
Text2DEntity creará una geometría basada en la forma de los glifos y un material sólido utilizando el color especificado.
Documentación de propiedades
alignment : Qt::Alignment
* * * Mantiene la alineación del texto.
color : color
Mantiene el color del texto.
font : font
Mantiene la fuente del texto.
height : real
Mantiene la altura del rectángulo delimitador del texto.
text : string
Contiene el texto utilizado para la malla.
width : real
Indica la anchura del rectángulo que delimita el texto.
© 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.