Qt3DRender.QTextureWrapMode¶
Defines the wrap mode a
QAbstractTexture
should apply to a texture. More…
Synopsis¶
Detailed Description¶
-
class
PySide2.Qt3DRender.Qt3DRender.
QTextureWrapMode
([wrapMode=ClampToEdge[, parent=None]])¶ Contrusts a new
QTextureWrapMode
instance with the wrap mode to apply to each dimensionx
,y
z
of the texture andparent
as parent.
-
PySide2.Qt3DRender.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.Qt3DRender.QTextureWrapMode.
setX
(x)¶ - Parameters
x –
WrapMode
Sets the wrap mode of the x dimension to
x
.See also
x()
-
PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.
setY
(y)¶ - Parameters
y –
WrapMode
Sets the wrap mode of the y dimension to
y
.Note
this is not available on 1D textures.
See also
y()
© 2018 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.