QTextureWrapMode

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QTextureWrapMode

Synopsis

Functions

Detailed Description

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

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()

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()

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()

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

WrapMode

See also

setX()

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

xWrapMode

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

WrapMode

See also

setY()

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

yWrapMode

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

WrapMode

See also

setZ()

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

zWrapMode