IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QTextureWrapMode Class

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

This class was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

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)

Sets the wrap mode of the x dimension to x.

Setter function for property x.

See Also

See also 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()

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 function for property z.

See Also

See also z()

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+