TextureImage QML Type
Contains a texture image. More...
Import Statement: | import QtCanvas3D 1.1 |
Since: | QtCanvas3D 1.0 |
Properties
- errorString() : string
- height() : int
- imageState() : TextureImageState
- src() : url
- width() : int
Methods
Detailed Description
An uncreatable QML type that contains a texture image created by calling TextureImageFactory::newTexImage() and settings the src
of the image.
See also TextureImageFactory.
Property Documentation
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 |
Contains the url source where the image data is loaded from.
Method Documentation
TextureImage create() |
Returns a new texture image.
TextureImage resize(int width, int height) |
Returns a copy of the texture image resized to the given width and height.
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.