QAbstractSpriteSheet Class
(Qt3DExtras::QAbstractSpriteSheet)Properties
- currentIndex : int
- texture : Qt3DRender::QAbstractTexture*
- textureTransform : const QMatrix3x3
Public Functions
virtual | ~QAbstractSpriteSheet() |
int | currentIndex() const |
Qt3DRender::QAbstractTexture * | texture() const |
QMatrix3x3 | textureTransform() const |
Public Slots
void | setCurrentIndex(int currentIndex) |
void | setTexture(Qt3DRender::QAbstractTexture *texture) |
Signals
void | currentIndexChanged(int currentIndex) |
void | textureChanged(Qt3DRender::QAbstractTexture *texture) |
void | textureTransformChanged(const QMatrix3x3 &textureTransform) |
Protected Functions
QAbstractSpriteSheet(Qt3DExtras::QAbstractSpriteSheetPrivate &d, Qt3DCore::QNode *parent = nullptr) |
Property Documentation
currentIndex : int
Access functions:
int | currentIndex() const |
void | setCurrentIndex(int currentIndex) |
Notifier signal:
void | currentIndexChanged(int currentIndex) |
texture : Qt3DRender::QAbstractTexture*
Holds the current texture used by the material.
Access functions:
Qt3DRender::QAbstractTexture * | texture() const |
void | setTexture(Qt3DRender::QAbstractTexture *texture) |
Notifier signal:
void | textureChanged(Qt3DRender::QAbstractTexture *texture) |
textureTransform : const QMatrix3x3
Access functions:
QMatrix3x3 | textureTransform() const |
Notifier signal:
void | textureTransformChanged(const QMatrix3x3 &textureTransform) |
Member Function Documentation
[protected]
QAbstractSpriteSheet::QAbstractSpriteSheet(Qt3DExtras::QAbstractSpriteSheetPrivate &d, Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QAbstractSpriteSheet.
[virtual]
QAbstractSpriteSheet::~QAbstractSpriteSheet()
Destroys the instance of QAbstractSpriteSheet. The destructor is virtual.