Свойство | Тип | Описание | |
---|---|---|---|
fadeDelay | float | ||
fadeDuration | float | ||
fadeToColor | Color | ||
initialColor | Color | ||
minDistanceBetweenInstances | float |
Метод | Описание | |
---|---|---|
SpriteTrail ( Sprite sprite, int maxInstances = 15 ) : System | ||
disableSpriteTrail ( bool completeCurrentTrail = true ) : void |
disables the SpriteTrail optionally waiting for the current trail to fade out first
|
|
enableSpriteTrail ( ) : |
enables the SpriteTrail
|
|
render ( Graphics graphics, Camera camera ) : void |
Метод | Описание | |
---|---|---|
IUpdatable ( ) : void | ||
spawnInstance ( ) : void |
stores the last position for distance calculations and spawns a new trail instance if there is one available in the stack
|
public SpriteTrail ( Sprite sprite, int maxInstances = 15 ) : System | ||
sprite | Sprite | |
maxInstances | int | |
Результат | System |
public disableSpriteTrail ( bool completeCurrentTrail = true ) : void | ||
completeCurrentTrail | bool | If set to |
Результат | void |
public enableSpriteTrail ( ) : |
||
Результат |
public render ( Graphics graphics, Camera camera ) : void | ||
graphics | Graphics | |
camera | Camera | |
Результат | void |