QTextureWrapMode#

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode

Synopsis#

Properties#

Functions#

  • def x ()

  • def y ()

  • def z ()

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 PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode([wrapMode=Qt3DRender.QTextureWrapMode.WrapMode.ClampToEdge[, parent=None]])#

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode(x, y, z[, parent=None])

Parameters:

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

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.x: WrapMode#

Returns the wrap mode of the x dimension.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.y: WrapMode#

Returns the wrap mode of the y dimension.

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

Returns the wrap mode of the z dimension.

Access functions:
PySide6.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

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.setX(x)#
Parameters:

xWrapMode

Sets the wrap mode of the x dimension to x.

See also

x()

Setter of property x .

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.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 .

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.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 .

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.x()#
Return type:

WrapMode

See also

setX()

Getter of property x .

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.xChanged(x)#
Parameters:

xWrapMode

Notification signal of property x .

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.y()#
Return type:

WrapMode

See also

setY()

Getter of property y .

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.yChanged(y)#
Parameters:

yWrapMode

Notification signal of property y .

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.z()#
Return type:

WrapMode

See also

setZ()

Getter of property z .

PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode.zChanged(z)#
Parameters:

zWrapMode

Notification signal of property z .