QExtrudedTextGeometryclass allows creation of a 3D extruded text in 3D space. 更多 …
def
extrusionLength
()
def
font
()
def
indexAttribute
()
def
normalAttribute
()
def
positionAttribute
()
def
text
()
def
depthChanged
(extrusionLength)
def
fontChanged
(font)
def
textChanged
(text)
QExtrudedTextGeometryclass is most commonly used internally by the QText3DMesh but can also be used in customQGeometryRenderer子类。
PySide2.Qt3DExtras.Qt3DExtras.
QExtrudedTextGeometry
(
[
parent=None
]
)
¶
- param parent
QNode
构造新
QExtrudedTextGeometry
with
parent
.
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
depthChanged
(
extrusionLength
)
¶
extrusionLength
–
float
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
extrusionLength
(
)
¶
float
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
fontChanged
(
font
)
¶
font
–
QFont
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
indexAttribute
(
)
¶
QAttribute
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
normalAttribute
(
)
¶
QAttribute
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
positionAttribute
(
)
¶
QAttribute
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
setDepth
(
extrusionLength
)
¶
extrusionLength
–
float
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
setText
(
text
)
¶
text – unicode
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QExtrudedTextGeometry.
textChanged
(
text
)
¶
text – unicode