QTextureWrapMode Class▲
-
Header: QTextureWrapMode
-
Since: Qt 5.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
-
qmake: QT += 3drender
-
Inherits: QObject
Detailed Description▲
Member Type Documentation▲
enum QTextureWrapMode::WrapMode▲
Specifies the type of text wrapping. Possible values:
Constant |
|
---|---|
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:
-
x() const
-
void setX( x)
Notifier signal:
-
void xChanged( x)
y : WrapMode▲
Returns the wrap mode of the y dimension.
Access functions:
-
y() const
-
void setY( y)
Notifier signal:
-
void yChanged( y)
z : WrapMode▲
Returns the wrap mode of the z dimension.
Access functions:
-
z() const
-
void setZ( z)
Notifier signal:
-
void zChanged( z)
Member Function Documentation▲
[explicit] QTextureWrapMode::QTextureWrapMode(Qt3DRender::QTextureWrapMode::WrapMode x, Qt3DRender::QTextureWrapMode::WrapMode y, Qt3DRender::QTextureWrapMode::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.
void QTextureWrapMode::setX(Qt3DRender::QTextureWrapMode::WrapMode x)▲
void QTextureWrapMode::setY(Qt3DRender::QTextureWrapMode::WrapMode y)▲
Sets the wrap mode of the y dimension to y.
this is not available on 1D textures.
Setter function for property y.
See Also▲
See also y()