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

TextureImage QML Type

Contains a texture image.

This type was introduced in QtCanvas3D 1.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

TextureImage QML Type

  • Import Statement: import QtCanvas3D 1.1

  • Since: QtCanvas3D 1.0

Detailed Description

Deprecated in Qt 5.12. An uncreatable QML type that contains a texture image created by calling TextureImageFactory::newTexImage() and settings the src of the image.

See Also

Property Documentation

 

errorString() : string

Deprecated in Qt 5.12. Contains the error string if an error happened during image creation.

height() : int

Deprecated in Qt 5.12. Contains the texture image height.

imageState() : TextureImageState

Deprecated in Qt 5.12. Contains the texture image state. It is one of TextureImage.INITIALIZED, TextureImage.LOAD_PENDING, TextureImage.LOADING, TextureImage.LOADING_FINISHED or TextureImage.LOADING_ERROR.

src() : url

Deprecated in Qt 5.12. Contains the url source where the image data is loaded from.

width() : int

Deprecated in Qt 5.12. Contains the texture image width.

Method Documentation

 

TextureImage create()

Deprecated in Qt 5.12. Returns a new texture image.

int id()

Deprecated in Qt 5.12. Contains the object id.

TextureImage resize(int width, int height)

Deprecated in Qt 5.12. Returns a copy of the texture image resized to the given width and height.

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