QExtrudedTextMesh#

A 3D extruded Text mesh. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh

Synopsis#

Properties#

Functions#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

The origin of the mesh is the rear left end of the text’s baseline.

class PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QText3DMesh with parent.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.depth: float#

Holds the extrusion depth of the text.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.font: PySide6.QtGui.QFont#

Holds the font of the text.

The mesh geometry is normalized by the font’s pointSize, so a larger pointSize will result in smoother, rather than larger, text. pixelSize should not be used.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.text: str#

Holds the text used for the mesh.

Access functions:
PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.depth()#
Return type:

float

See also

setDepth()

Getter of property depth .

PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.depthChanged(depth)#
Parameters:

depth – float

Notification signal of property depth .

PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.font()#
Return type:

PySide6.QtGui.QFont

See also

setFont()

Getter of property font .

PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.fontChanged(font)#
Parameters:

fontPySide6.QtGui.QFont

Notification signal of property font .

PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.setDepth(depth)#
Parameters:

depth – float

See also

depth()

Setter of property depth .

PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.setFont(font)#
Parameters:

fontPySide6.QtGui.QFont

See also

font()

Setter of property font .

PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.setText(text)#
Parameters:

text – str

See also

text()

Setter of property text .

PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.text()#
Return type:

str

See also

setText()

Getter of property text .

PySide6.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh.textChanged(text)#
Parameters:

text – str

Notification signal of property text .