C# Class Nez.Sprites.SpriteTrail.SpriteTrailInstance

显示文件 Open project: prime31/Nez

Public Properties

Property Type Description
position Vector2

Public Methods

Method 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

Method Description
render ( Graphics graphics, Camera camera ) : void
update ( ) : bool

Method Details

setSpriteRenderOptions() public method

public setSpriteRenderOptions ( float rotation, Vector2 origin, Vector2 scale, SpriteEffects spriteEffects, float layerDepth ) : void
rotation float
origin Vector2
scale Vector2
spriteEffects SpriteEffects
layerDepth float
return void

spawn() public method

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
return void

Property Details

position public_oe property

public Vector2 position
return Vector2