QTextureWrapMode Class
class Qt3DRender::QTextureWrapModeDefines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture. More...
Header: | #include <QTextureWrapMode> |
qmake: | QT += 3drender |
Since: | Qt 5.5 |
Inherits: | QObject |
This class was introduced in Qt 5.5.
Public Types
enum | WrapMode { Repeat, MirroredRepeat, ClampToEdge, ClampToBorder } |
Properties
Public Functions
QTextureWrapMode(WrapMode x, WrapMode y, WrapMode z, QObject *parent = nullptr) | |
WrapMode | x() const |
WrapMode | y() const |
WrapMode | z() const |
Public Slots
Signals
Detailed Description
Member Type Documentation
enum QTextureWrapMode::WrapMode
Specifies the type of text wrapping. Possible values:
Constant | Value |
---|---|
Qt3DRender::QTextureWrapMode::Repeat | 0x2901 |
Qt3DRender::QTextureWrapMode::MirroredRepeat | 0x8370 |
Qt3DRender::QTextureWrapMode::ClampToEdge | 0x812F |
Qt3DRender::QTextureWrapMode::ClampToBorder | 0x812D |
Property Documentation
x : WrapMode
Returns the wrap mode of the x dimension.
Access functions:
WrapMode | x() const |
void | setX(WrapMode x) |
Notifier signal:
void | xChanged(WrapMode x) |
y : WrapMode
Returns the wrap mode of the y dimension.
Access functions:
WrapMode | y() const |
void | setY(WrapMode y) |
Notifier signal:
void | yChanged(WrapMode y) |
z : WrapMode
Returns the wrap mode of the z dimension.
Access functions:
WrapMode | z() const |
void | setZ(WrapMode z) |
Notifier signal:
void | zChanged(WrapMode z) |
Member Function Documentation
QTextureWrapMode::QTextureWrapMode(WrapMode x, WrapMode y, WrapMode z, QObject *parent = nullptr)
Contrusts a new Qt3DRender::QTextureWrapMode instance with the wrap mode to apply to each dimension x, y z of the texture and parent as parent.
[slot]
void QTextureWrapMode::setX(WrapMode x)
Sets the wrap mode of the x dimension to x.
Note: Setter function for property x.
See also x().
[slot]
void QTextureWrapMode::setY(WrapMode y)
Sets the wrap mode of the y dimension to y.
Note: this is not available on 1D textures.
Note: Setter function for property y.
See also y().
[slot]
void QTextureWrapMode::setZ(WrapMode z)
Sets the wrap mode of the z dimension to z.
Note: this is only available on 3D textures.
Note: Setter function for property z.
See also z().