QExtrudedTextMesh露

A 3D extruded Text mesh. More鈥�

Inheritance diagram of PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh

Synopsis露

Functions露

Slots露

Signals露

Detailed Description露

The origin of the mesh is the rear left end of the text鈥檚 baseline.

class PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextMesh([parent=None])露

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:

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.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