Метод | Описание | |
---|---|---|
AddParticles ( Vector2 size ) : void | ||
ChangeCondition ( ) : void | ||
Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawingSession, bool useSpriteBatch ) : void | ||
LoadSurfaceAsync ( ICanvasResourceCreator resourceCreator, byte v ) : System.Threading.Tasks.Task | ||
SmokeParticleSystem ( ) : Com.Aurora.Shared.Helpers | ||
Update ( float elapsedTime, Vector2 size ) : void |
更新粒子物理属性,如果粒子超过边界,将其回收
|
|
smokeDispose ( ) : void |
Метод | Описание | |
---|---|---|
Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawingSession, CanvasSpriteBatch spriteBatch ) : void | ||
InitializeConstants ( ) : void | ||
PickDirection ( ) : Vector2 |
为配合雨滴,这里方向全部取向右,即 angle 在 -0.262f ~ 0.262f
|
Метод | Описание | |
---|---|---|
ChangetoCloudy ( ) : void | ||
ChangetoFog ( ) : void | ||
ChangetoOvercast ( ) : void | ||
ImmersiveIn ( ) : void | ||
ImmersiveOut ( ) : void | ||
InitSmoke ( Vector2 size ) : void |
public AddParticles ( Vector2 size ) : void | ||
size | Vector2 | |
Результат | void |
protected Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawingSession, CanvasSpriteBatch spriteBatch ) : void | ||
drawingSession | Microsoft.Graphics.Canvas.CanvasDrawingSession | |
spriteBatch | CanvasSpriteBatch | |
Результат | void |
public Draw ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawingSession, bool useSpriteBatch ) : void | ||
drawingSession | Microsoft.Graphics.Canvas.CanvasDrawingSession | |
useSpriteBatch | bool | |
Результат | void |
public LoadSurfaceAsync ( ICanvasResourceCreator resourceCreator, byte v ) : System.Threading.Tasks.Task | ||
resourceCreator | ICanvasResourceCreator | |
v | byte | |
Результат | System.Threading.Tasks.Task |
public SmokeParticleSystem ( ) : Com.Aurora.Shared.Helpers | ||
Результат | Com.Aurora.Shared.Helpers |
public Update ( float elapsedTime, Vector2 size ) : void | ||
elapsedTime | float | |
size | Vector2 | |
Результат | void |