QSpriteSheet

Inheritance diagram of PySide2.Qt3DExtras.Qt3DExtras.QSpriteSheet

New in version 5.10.

Synopsis

Functions

Slots

Signals

Detailed Description

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

parentPySide2.Qt3DCore.Qt3DCore.QNode

PySide2.Qt3DExtras.Qt3DExtras.QSpriteSheet.addSprite(sprite)
Parameters:

spritePySide2.Qt3DExtras.Qt3DExtras.QSpriteSheetItem

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

  • y – int

  • width – int

  • height – int

Return type:

PySide2.Qt3DExtras.Qt3DExtras.QSpriteSheetItem

PySide2.Qt3DExtras.Qt3DExtras.QSpriteSheet.removeSprite(sprite)
Parameters:

spritePySide2.Qt3DExtras.Qt3DExtras.QSpriteSheetItem

PySide2.Qt3DExtras.Qt3DExtras.QSpriteSheet.setSprites(sprites)
Parameters:

sprites

PySide2.Qt3DExtras.Qt3DExtras.QSpriteSheet.sprites()
Return type:

PySide2.Qt3DExtras.Qt3DExtras.QSpriteSheet.spritesChanged(sprites)
Parameters:

sprites