ExtrudedTextGeometry QML Type
ExtrudedTextGeometry 允许在三维空间中创建三维文本。更多
Import Statement: | import Qt3D.Extras 2.9 |
In C++: | QExtrudedTextGeometry |
Status: | Deprecated |
属性
- depth : real
- font : font
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- text : string
详细说明
ExtrudedTextGeometry 类型最常用于ExtrudedTextMesh 类型内部,但也可用于自定义GeometryRenderer 类型。
几何图形的原点是文本基线的左后端。
属性文档
depth : real |
文本的挤出深度。
font : font |
显示文字的字体。
几何体按字体的 pointSize 进行归一化处理,因此,pointSize 越大,文字越平滑,而不是越大。
indexAttribute : Attribute |
几何体索引属性。
normalAttribute : Attribute |
持有几何体法线属性。
positionAttribute : Attribute |
持有几何体位置属性。
text : string |
持有网格使用的文本。
© 2025 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.