QTextureWrapMode¶
Defines the wrap mode a
QAbstractTexture
should apply to a texture. More…
Synopsis¶
Detailed Description¶
-
class
PySide2.Qt3DRender.
QTextureWrapMode
([wrapMode=ClampToEdge[, parent=None]])¶ PySide2.Qt3DRender.QTextureWrapMode(x, y, z[, parent=None])
- param parent
- param x
- param y
- param z
- param wrapMode
Contrusts a new
QTextureWrapMode
instance with the wrap mode to apply to each dimensionx
,y
z
of the texture andparent
as parent.
-
PySide2.Qt3DRender.QTextureWrapMode.
WrapMode
¶ Specifies the type of text wrapping. Possible values:
Constant
Description
Qt3DRender.QTextureWrapMode.Repeat
Qt3DRender.QTextureWrapMode.MirroredRepeat
Qt3DRender.QTextureWrapMode.ClampToEdge
Qt3DRender.QTextureWrapMode.ClampToBorder
-
PySide2.Qt3DRender.QTextureWrapMode.
setX
(x)¶ - Parameters
x –
WrapMode
Returns the wrap mode of the x dimension.
-
PySide2.Qt3DRender.QTextureWrapMode.
setY
(y)¶ - Parameters
y –
WrapMode
Returns the wrap mode of the y dimension.
-
PySide2.Qt3DRender.QTextureWrapMode.
setZ
(z)¶ - Parameters
z –
WrapMode
Returns the wrap mode of the z dimension.
-
PySide2.Qt3DRender.QTextureWrapMode.
x
()¶ - Return type
Returns the wrap mode of the x dimension.
-
PySide2.Qt3DRender.QTextureWrapMode.
y
()¶ - Return type
Returns the wrap mode of the y dimension.
-
PySide2.Qt3DRender.QTextureWrapMode.
z
()¶ - Return type
Returns the wrap mode of the z dimension.
© 2020 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.