PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode¶
- class QTextureWrapMode¶
Defines the wrap mode a
QAbstractTexture
should apply to a texture. More…Synopsis¶
Properties¶
Methods¶
def
__init__()
def
x()
def
y()
def
z()
Slots¶
Signals¶
def
xChanged()
def
yChanged()
def
zChanged()
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¶
- class WrapMode¶
Specifies the type of text wrapping. Possible values:
Constant
Description
Qt3DRender.QTextureWrapMode.Repeat
Qt3DRender.QTextureWrapMode.MirroredRepeat
Qt3DRender.QTextureWrapMode.ClampToEdge
Qt3DRender.QTextureWrapMode.ClampToBorder
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property xᅟ: Qt3DRender.QTextureWrapMode.WrapMode¶
Returns the wrap mode of the x dimension.
- Access functions:
Signal
xChanged()
- property yᅟ: Qt3DRender.QTextureWrapMode.WrapMode¶
Returns the wrap mode of the y dimension.
- Access functions:
Signal
yChanged()
- property zᅟ: Qt3DRender.QTextureWrapMode.WrapMode¶
Returns the wrap mode of the z dimension.
- Access functions:
Signal
zChanged()
- __init__([wrapMode=Qt3DRender.QTextureWrapMode.WrapMode.ClampToEdge[, parent=None]])¶
- Parameters:
wrapMode –
WrapMode
parent –
QObject
- __init__(x, y, z[, parent=None])
- Parameters:
x –
WrapMode
y –
WrapMode
z –
WrapMode
parent –
QObject
Contrusts a new
QTextureWrapMode
instance with the wrap mode to apply to each dimensionx
,y
z
of the texture andparent
as parent.- setX(x)¶
- Parameters:
x –
WrapMode
Sets the wrap mode of the x dimension to
x
.See also
x()
Setter of property
xᅟ
.- 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()
Setter of property
yᅟ
.- setZ(z)¶
- Parameters:
z –
WrapMode
Sets the wrap mode of the z dimension to
z
.Note
this is only available on 3D textures.
See also
z()
Setter of property
zᅟ
.- x()¶
- Return type:
WrapMode
See also
setX()
Getter of property
xᅟ
.- xChanged(x)¶
- Parameters:
x –
WrapMode
Notification signal of property
xᅟ
.- y()¶
- Return type:
WrapMode
See also
setY()
Getter of property
yᅟ
.- yChanged(y)¶
- Parameters:
y –
WrapMode
Notification signal of property
yᅟ
.- z()¶
- Return type:
WrapMode
See also
setZ()
Getter of property
zᅟ
.- zChanged(z)¶
- Parameters:
z –
WrapMode
Notification signal of property
zᅟ
.