QAbstractSpriteSheet Class

(Qt3DExtras::QAbstractSpriteSheet)
Inherits: Qt3DCore::QNode

Properties

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)

Additional Inherited Members

  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected variables inherited from QObject

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.

© 2018 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.