QTextureWrapMode

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

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode

Synopsis

Functions

  • def x ()

  • def y ()

  • def z ()

Slots

Signals

Detailed Description

class PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode([wrapMode=ClampToEdge[, parent=None]])

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

param parent:

PySide2.QtCore.QObject

param x:

WrapMode

param y:

WrapMode

param z:

WrapMode

param wrapMode:

WrapMode

Contrusts a new QTextureWrapMode instance with the wrap mode to apply to each dimension x , y z of the texture and parent 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:

xWrapMode

Returns the wrap mode of the x dimension.

PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.setY(y)
Parameters:

yWrapMode

Returns the wrap mode of the y dimension.

PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.setZ(z)
Parameters:

zWrapMode

Returns the wrap mode of the z dimension.

PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.x()
Return type:

WrapMode

Returns the wrap mode of the x dimension.

PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.xChanged(x)
Parameters:

xWrapMode

PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.y()
Return type:

WrapMode

Returns the wrap mode of the y dimension.

PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.yChanged(y)
Parameters:

yWrapMode

PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.z()
Return type:

WrapMode

Returns the wrap mode of the z dimension.

PySide2.Qt3DRender.Qt3DRender.QTextureWrapMode.zChanged(z)
Parameters:

zWrapMode