class QTextureWrapMode#

Defines the wrap mode a QAbstractTexture should apply to a texture. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode

Synopsis#

Properties#

Methods#

Slots#

Signals#

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:
property yᅟ: Qt3DRender.QTextureWrapMode.WrapMode#

Returns the wrap mode of the y dimension.

Access functions:
property zᅟ: Qt3DRender.QTextureWrapMode.WrapMode#

Returns the wrap mode of the z dimension.

Access functions:
__init__([wrapMode=Qt3DRender.QTextureWrapMode.WrapMode.ClampToEdge[, parent=None]])#
Parameters:
  • wrapModeWrapMode

  • parentQObject

__init__(x, y, z[, parent=None])
Parameters:
  • xWrapMode

  • yWrapMode

  • zWrapMode

  • parentQObject

Contrusts a new QTextureWrapMode instance with the wrap mode to apply to each dimension x, y z of the texture and parent as parent.

setX(x)#
Parameters:

xWrapMode

Sets the wrap mode of the x dimension to x.

See also

x()

Setter of property xᅟ .

setY(y)#
Parameters:

yWrapMode

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:

zWrapMode

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:

xWrapMode

Notification signal of property xᅟ .

y()#
Return type:

WrapMode

See also

setY()

Getter of property yᅟ .

yChanged(y)#
Parameters:

yWrapMode

Notification signal of property yᅟ .

z()#
Return type:

WrapMode

See also

setZ()

Getter of property zᅟ .

zChanged(z)#
Parameters:

zWrapMode

Notification signal of property zᅟ .