Shared sprite rendering group.
The group is automatically coalesced with other sprite groups sharing the same parent group, texture and blend parameters.
Constructor:
Create a sprite group.
The group is created internally within Sprite; applications usually do not need to explicitly create it.
Parameters: |
|
---|
Methods:
set_state() set_state_recursive() Set this group and its ancestry. unset_state() unset_state_recursive() Unset this group and its ancestry.
Methods
- SpriteGroup.set_state_recursive()
Set this group and its ancestry.
Call this method if you are using a group in isolation: the parent groups will be called in top-down order, with this class’s set being called last.
- SpriteGroup.unset_state_recursive()
Unset this group and its ancestry.
The inverse of set_state_recursive.