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

闪电类,包含闪电的亮度,持续时间以及规模,同时包含了用于绘制的 Path http://drilian.com/2009/02/25/lightning-bolts/
Datei anzeigen Open project: aurora-lzzp/Aurora-Weather Class Usage Examples

Public Properties

Property Type Description
Duration float
Luminace float
scale float

Public Methods

Method Description
Thunder ( float duration, Vector2 size ) : Com.Aurora.Shared.Helpers

Private Methods

Method Description
Generate ( Vector2 size ) : void

在画布的某一位置布置元素

GeneratePath ( Vector2 size ) : void
Update ( float elapsedTime ) : void

Method Details

Thunder() public method

public Thunder ( float duration, Vector2 size ) : Com.Aurora.Shared.Helpers
duration float
size Vector2
return Com.Aurora.Shared.Helpers

Property Details

Duration public_oe property

public float Duration
return float

Luminace public_oe property

public float Luminace
return float

scale public_oe property

public float scale
return float