QTextureWrapMode Class

( Qt3DRender::QTextureWrapMode )

Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture. 更多...

头: #include <QTextureWrapMode>
qmake: QT += 3drender
Since: Qt 5.5
继承: QObject

公共类型

enum WrapMode { Repeat, MirroredRepeat, ClampToEdge, ClampToBorder }

特性

公共函数

QTextureWrapMode (Qt3DRender::QTextureWrapMode::WrapMode wrapMode = ClampToEdge, QObject * parent = nullptr)
QTextureWrapMode (Qt3DRender::QTextureWrapMode::WrapMode x , Qt3DRender::QTextureWrapMode::WrapMode y , Qt3DRender::QTextureWrapMode::WrapMode z , QObject * parent = nullptr)
Qt3DRender::QTextureWrapMode::WrapMode x () const
Qt3DRender::QTextureWrapMode::WrapMode y () const
Qt3DRender::QTextureWrapMode::WrapMode z () const

公共槽

void setX (Qt3DRender::QTextureWrapMode::WrapMode x )
void setY (Qt3DRender::QTextureWrapMode::WrapMode y )
void setZ (Qt3DRender::QTextureWrapMode::WrapMode z )

信号

void xChanged (Qt3DRender::QTextureWrapMode::WrapMode x )
void yChanged (Qt3DRender::QTextureWrapMode::WrapMode y )
void zChanged (Qt3DRender::QTextureWrapMode::WrapMode z )

静态公共成员

const QMetaObject staticMetaObject

额外继承成员

详细描述

Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture.

成员类型文档编制

enum QTextureWrapMode:: WrapMode

Specifies the type of text wrapping. Possible values:

常量
Qt3DRender::QTextureWrapMode::Repeat 0x2901
Qt3DRender::QTextureWrapMode::MirroredRepeat 0x8370
Qt3DRender::QTextureWrapMode::ClampToEdge 0x812F
Qt3DRender::QTextureWrapMode::ClampToBorder 0x812D

特性文档编制

x : WrapMode

Returns the wrap mode of the x dimension.

访问函数:

Qt3DRender::QTextureWrapMode::WrapMode x () const
void setX (Qt3DRender::QTextureWrapMode::WrapMode x )

通知程序信号:

void xChanged (Qt3DRender::QTextureWrapMode::WrapMode x )

y : WrapMode

Returns the wrap mode of the y dimension.

访问函数:

Qt3DRender::QTextureWrapMode::WrapMode y () const
void setY (Qt3DRender::QTextureWrapMode::WrapMode y )

通知程序信号:

void yChanged (Qt3DRender::QTextureWrapMode::WrapMode y )

z : WrapMode

Returns the wrap mode of the z dimension.

访问函数:

Qt3DRender::QTextureWrapMode::WrapMode z () const
void setZ (Qt3DRender::QTextureWrapMode::WrapMode z )

通知程序信号:

void zChanged (Qt3DRender::QTextureWrapMode::WrapMode z )

成员函数文档编制

QTextureWrapMode:: QTextureWrapMode ( Qt3DRender::QTextureWrapMode::WrapMode wrapMode = ClampToEdge, QObject * parent = nullptr)

Default constructs an instance of QTextureWrapMode.

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 作为父级。

[slot] void QTextureWrapMode:: setX ( Qt3DRender::QTextureWrapMode::WrapMode x )

Sets the wrap mode of the x dimension to x .

注意: setter 函数对于特性 x .

另请参阅 x ().

[slot] 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 函数对于特性 y .

另请参阅 y ().

[slot] void QTextureWrapMode:: setZ ( Qt3DRender::QTextureWrapMode::WrapMode z )

Sets the wrap mode of the z dimension to z .

注意: this is only available on 3D textures.

注意: setter 函数对于特性 z .

另请参阅 z ().