class QSpriteSheet#

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet

Synopsis#

Properties#

Methods#

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#

Note

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

property spritesᅟ: list of Qt3DExtras.QSpriteSheetItem#
Access functions:
__init__([parent=None])#
Parameters:

parentQNode

addSprite(sprite)#
Parameters:

spriteQSpriteSheetItem

addSprite(x, y, width, height)
Parameters:
  • x – int

  • y – int

  • width – int

  • height – int

Return type:

QSpriteSheetItem

removeSprite(sprite)#
Parameters:

spriteQSpriteSheetItem

setSprites(sprites)#
Parameters:

sprites – .list of Qt3DExtras.QSpriteSheetItem

Setter of property spritesᅟ .

sprites()#
Return type:

.list of Qt3DExtras.QSpriteSheetItem

Getter of property spritesᅟ .

spritesChanged(sprites)#
Parameters:

sprites – .list of Qt3DExtras.QSpriteSheetItem

Notification signal of property spritesᅟ .