QTextureWrapMode¶
- PyQt5.Qt3DRender.QTextureWrapMode
Inherits from QObject.
Description¶
Defines the wrap mode a QAbstractTexture should apply to a texture.
Enums¶
- WrapMode
Specifies the type of text wrapping. Possible values:
Member
Value
Description
ClampToBorder TODO
TODO
ClampToEdge TODO
TODO
MirroredRepeat TODO
TODO
Repeat TODO
TODO
Methods¶
- __init__(wrapMode: WrapMode = Qt3DRender.QTextureWrapMode.WrapMode.ClampToEdge, parent: QObject = None)
TODO
- __init__(WrapMode, WrapMode, WrapMode, parent: QObject = None)
Contrusts a new QTextureWrapMode instance with the wrap mode to apply to each dimension x, y z of the texture and parent as parent.
- setY(WrapMode)
Sets the wrap mode of the y dimension to y.
Note: this is not available on 1D textures.
See also
y().
- setZ(WrapMode)
Sets the wrap mode of the z dimension to z.
Note: this is only available on 3D textures.
See also
z().