Qt3DExtras.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])
param parent

QNode

Constructs a new QSpriteSheet instance with parent object parent .

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

spriteQSpriteSheetItem

PySide2.Qt3DExtras.Qt3DExtras.QSpriteSheet.addSprite(x, y, width, height)
Parameters
  • xint

  • yint

  • widthint

  • heightint

Return type

QSpriteSheetItem

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

spriteQSpriteSheetItem

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

sprites

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

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

sprites