QSpriteGrid Class

(Qt3DExtras::QSpriteGrid)

Properties

Public Functions

QSpriteGrid(Qt3DCore::QNode *parent = nullptr)
~QSpriteGrid()
int columns() const
int rows() const

Public Slots

void setColumns(int columns)
void setRows(int rows)

Signals

void columnsChanged(int columns)
void rowsChanged(int rows)

Additional Inherited Members

  • 11 static public members inherited from QObject
  • 2 protected functions inherited from Qt3DCore::QNode
  • 9 protected functions inherited from QObject

Property Documentation

columns : int

Access functions:

int columns() const
void setColumns(int columns)

Notifier signal:

void columnsChanged(int columns)

rows : int

Access functions:

int rows() const
void setRows(int rows)

Notifier signal:

void rowsChanged(int rows)

Member Function Documentation

QSpriteGrid::QSpriteGrid(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QSpriteGrid.

QSpriteGrid::~QSpriteGrid()

Destroys the instance of QSpriteGrid.

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