QSpriteSheet#
Synopsis#
Properties#
Functions#
def
addSprite
(sprite)def
addSprite
(x, y, width, height)def
removeSprite
(sprite)def
sprites
()
Slots#
def
setSprites
(sprites)
Signals#
def
spritesChanged
(sprites)
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:
parent –
PySide6.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#
- Access functions:
sprites
()setSprites
(sprites)Signal
spritesChanged
(sprites)
- PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.addSprite(sprite)#
- Parameters:
- PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.addSprite(x, y, width, height)
- Parameters:
x – int
y – int
width – int
height – int
- Return type:
- PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.removeSprite(sprite)#
- Parameters:
- PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.setSprites(sprites)#
- Parameters:
sprites –
Setter of property sprites
.
- PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.sprites()#
- Return type:
Getter of property sprites
.
- PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheet.spritesChanged(sprites)#
- Parameters:
sprites –
Notification signal of property sprites
.