QTextureWrapMode Class
(Qt3DRender::QTextureWrapMode)Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture. 更多...
头文件: | #include <QTextureWrapMode> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.5 |
基类: | QObject |
公有类型
enum | WrapMode { Repeat, MirroredRepeat, ClampToEdge, ClampToBorder } |
属性
- 1 个属性继承自 QObject
公有函数
QTextureWrapMode(WrapMode wrapMode = ClampToEdge, QObject *parent = nullptr) | |
QTextureWrapMode(WrapMode x, WrapMode y, WrapMode z, QObject *parent = nullptr) | |
WrapMode | x() const |
WrapMode | y() const |
WrapMode | z() const |
- 32 个公有函数继承自 QObject
公有槽函数
- 1 个公有槽函数继承自 QObject
信号
- 2 个信号继承自 QObject
其他继承的成员
详细描述
Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture.
属性
x : WrapMode
访问函数:
Notifier signal:
void | xChanged(WrapMode x) |
y : WrapMode
访问函数:
Notifier signal:
void | yChanged(WrapMode y) |
z : WrapMode
访问函数:
Notifier signal:
void | zChanged(WrapMode z) |
成员函数
QTextureWrapMode::QTextureWrapMode(WrapMode wrapMode = ClampToEdge, QObject *parent = nullptr)
Default constructs an instance of QTextureWrapMode.
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.
参见 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.
参见 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.
参见 z().
WrapMode QTextureWrapMode::x() const
Returns the wrap mode of the x dimension.
Note: Getter function for property x.
参见 setX().
WrapMode QTextureWrapMode::y() const
Returns the wrap mode of the y dimension.
Note: Getter function for property y.
参见 setY().
WrapMode QTextureWrapMode::z() const
Returns the wrap mode of the z dimension.
Note: Getter function for property z.
参见 setZ().