C# Class Com.Aurora.AuWeather.Effects.ParticleSystem

Inheritance: IDisposable
Mostrar archivo Open project: aurora-lzzp/Aurora-Weather

Protected Properties

Property Type Description
bitmap Microsoft.Graphics.Canvas.CanvasBitmap
bitmapBounds Windows.Foundation.Rect
bitmapCenter Vector2
bitmapFilename string
blendState CanvasBlend
maxAcceleration float
maxInitialSpeed float
maxLifetime float
maxNumParticles int
maxRotationAngle float
maxRotationSpeed float
maxScaleX float
maxScaleY float
minAcceleration float
minInitialSpeed float
minLifetime float
minNumParticles int
minRotationAngle float
minRotationSpeed float
minScaleX float
minScaleY float
surfaceLoaded bool

Public Methods

Method Description
AddParticles ( Vector2 where ) : void
Dispose ( ) : void
Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawingSession, bool useSpriteBatch ) : void
LoadSurfaceAsync ( ICanvasResourceCreator resourceCreator ) : System.Threading.Tasks.Task
Update ( float elapsedTime ) : void

Protected Methods

Method Description
Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawingSession, CanvasSpriteBatch spriteBatch ) : void
InitializeConstants ( ) : void
InitializeParticle ( Particle particle, Vector2 where ) : void
ParticleSystem ( ) : Microsoft.Graphics.Canvas
PickDirection ( ) : Vector2

Method Details

AddParticles() public method

public AddParticles ( Vector2 where ) : void
where Vector2
return void

Dispose() public method

public Dispose ( ) : void
return void

Draw() protected method

protected Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawingSession, CanvasSpriteBatch spriteBatch ) : void
drawingSession Microsoft.Graphics.Canvas.CanvasDrawingSession
spriteBatch CanvasSpriteBatch
return void

Draw() public method

public Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawingSession, bool useSpriteBatch ) : void
drawingSession Microsoft.Graphics.Canvas.CanvasDrawingSession
useSpriteBatch bool
return void

InitializeConstants() protected method

protected InitializeConstants ( ) : void
return void

InitializeParticle() protected method

protected InitializeParticle ( Particle particle, Vector2 where ) : void
particle Particle
where Vector2
return void

LoadSurfaceAsync() public method

public LoadSurfaceAsync ( ICanvasResourceCreator resourceCreator ) : System.Threading.Tasks.Task
resourceCreator ICanvasResourceCreator
return System.Threading.Tasks.Task

ParticleSystem() protected method

protected ParticleSystem ( ) : Microsoft.Graphics.Canvas
return Microsoft.Graphics.Canvas

PickDirection() protected method

protected PickDirection ( ) : Vector2
return Vector2

Update() public method

public Update ( float elapsedTime ) : void
elapsedTime float
return void

Property Details

bitmap protected_oe property

protected CanvasBitmap,Microsoft.Graphics.Canvas bitmap
return Microsoft.Graphics.Canvas.CanvasBitmap

bitmapBounds protected_oe property

protected Rect,Windows.Foundation bitmapBounds
return Windows.Foundation.Rect

bitmapCenter protected_oe property

protected Vector2 bitmapCenter
return Vector2

bitmapFilename protected_oe property

protected string bitmapFilename
return string

blendState protected_oe property

protected CanvasBlend blendState
return CanvasBlend

maxAcceleration protected_oe property

protected float maxAcceleration
return float

maxInitialSpeed protected_oe property

protected float maxInitialSpeed
return float

maxLifetime protected_oe property

protected float maxLifetime
return float

maxNumParticles protected_oe property

protected int maxNumParticles
return int

maxRotationAngle protected_oe property

protected float maxRotationAngle
return float

maxRotationSpeed protected_oe property

protected float maxRotationSpeed
return float

maxScaleX protected_oe property

protected float maxScaleX
return float

maxScaleY protected_oe property

protected float maxScaleY
return float

minAcceleration protected_oe property

protected float minAcceleration
return float

minInitialSpeed protected_oe property

protected float minInitialSpeed
return float

minLifetime protected_oe property

protected float minLifetime
return float

minNumParticles protected_oe property

protected int minNumParticles
return int

minRotationAngle protected_oe property

protected float minRotationAngle
return float

minRotationSpeed protected_oe property

protected float minRotationSpeed
return float

minScaleX protected_oe property

protected float minScaleX
return float

minScaleY protected_oe property

protected float minScaleY
return float

surfaceLoaded protected_oe property

protected bool surfaceLoaded
return bool