QSpriteSheet#

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet

Synopsis#

Properties#

Functions#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.sprites: list of Qt3DExtras.QSpriteSheetItem#
Access functions:
PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.addSprite(sprite)#
Parameters:

spritePySide6.Qt3DExtras.Qt3DExtras.QSpriteSheetItem

PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.addSprite(x, y, width, height)
Parameters:
  • x – int

  • y – int

  • width – int

  • height – int

Return type:

PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheetItem

PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.removeSprite(sprite)#
Parameters:

spritePySide6.Qt3DExtras.Qt3DExtras.QSpriteSheetItem

PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.setSprites(sprites)#
Parameters:

sprites – .list of Qt3DExtras.QSpriteSheetItem

Setter of property sprites .

PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.sprites()#
Return type:

.list of Qt3DExtras.QSpriteSheetItem

Getter of property sprites .

PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.spritesChanged(sprites)#
Parameters:

sprites – .list of Qt3DExtras.QSpriteSheetItem

Notification signal of property sprites .