Text2DEntity QML Type
Text2DEntity allows creation of a 2D text in 3D space. More...
Import Statement: | import Qt3D.Extras 2.12 |
Instantiates: | QText2DEntity |
Properties
Detailed Description
The Text2DEntity renders text as triangles in the XY plane. The geometry will be fitted in the rectangle of specified width and height. If the resulting geometry is wider than the specified width, the remainder will be rendered on the new line.
The entity can be positionned in the scene by adding a transform component.
Text2DEntity will create geometry based on the shape of the glyphs and a solid material using the specified color.
Property Documentation
© 2021 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.