C# Class Nez.Sprites.SpriteTrail.SpriteTrailInstance

Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Свойство Type Description
position Vector2

Méthodes publiques

Méthode Description
setSpriteRenderOptions ( float rotation, Vector2 origin, Vector2 scale, SpriteEffects spriteEffects, float layerDepth ) : void
spawn ( Vector2 position, Subtexture subtexture, float fadeDuration, float fadeDelay, Color initialColor, Color targetColor ) : void

Private Methods

Méthode Description
render ( Graphics graphics, Camera camera ) : void
update ( ) : bool

Method Details

setSpriteRenderOptions() public méthode

public setSpriteRenderOptions ( float rotation, Vector2 origin, Vector2 scale, SpriteEffects spriteEffects, float layerDepth ) : void
rotation float
origin Vector2
scale Vector2
spriteEffects SpriteEffects
layerDepth float
Résultat void

spawn() public méthode

public spawn ( Vector2 position, Subtexture subtexture, float fadeDuration, float fadeDelay, Color initialColor, Color targetColor ) : void
position Vector2
subtexture Nez.Textures.Subtexture
fadeDuration float
fadeDelay float
initialColor Color
targetColor Color
Résultat void

Property Details

position public_oe property

public Vector2 position
Résultat Vector2