- class QSpriteSheet¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
addSprite()
def
removeSprite()
def
sprites()
Slots¶
def
setSprites()
Signals¶
def
spritesChanged()
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:
parent –
QNode
- addSprite(sprite)¶
- Parameters:
sprite –
QSpriteSheetItem
- addSprite(x, y, width, height)
- Parameters:
x – int
y – int
width – int
height – int
- Return type:
QSpriteSheetItem
- removeSprite(sprite)¶
- Parameters:
sprite –
QSpriteSheetItem
- 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ᅟ
.