QExtrudedTextMesh露
A 3D extruded Text mesh. More鈥�

Synopsis露
Functions露
Slots露
Signals露
def
depthChanged(depth)def
fontChanged(font)def
textChanged(text)
Detailed Description露
The origin of the mesh is the rear left end of the text鈥檚 baseline.
- class PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh([parent=None])露
- param parent:
Constructs a new QText3DMesh with
parent.
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.depth()露
- Return type:
float
Holds the extrusion depth of the text.
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.depthChanged(depth)露
- Parameters:
depth 鈥� float
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.font()露
- Return type:
Holds the font of the text.
The mesh geometry is normalized by the font鈥檚 pointSize, so a larger pointSize will result in smoother, rather than larger, text. pixelSize should not be used.
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.fontChanged(font)露
- Parameters:
font 鈥�
PySide2.QtGui.QFont
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.setDepth(depth)露
- Parameters:
depth 鈥� float
Holds the extrusion depth of the text.
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.setFont(font)露
- Parameters:
font 鈥�
PySide2.QtGui.QFont
Holds the font of the text.
The mesh geometry is normalized by the font鈥檚 pointSize, so a larger pointSize will result in smoother, rather than larger, text. pixelSize should not be used.
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.setText(text)露
- Parameters:
text 鈥� str
Holds the text used for the mesh.
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.text()露
- Return type:
str
Holds the text used for the mesh.
- PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.textChanged(text)露
- Parameters:
text 鈥� str
漏 2022 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.