C# 클래스 Com.Aurora.AuWeather.Effects.Thunder

闪电类,包含闪电的亮度,持续时间以及规模,同时包含了用于绘制的 Path http://drilian.com/2009/02/25/lightning-bolts/
파일 보기 프로젝트 열기: aurora-lzzp/Aurora-Weather 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Duration float
Luminace float
scale float

공개 메소드들

메소드 설명
Thunder ( float duration, Vector2 size ) : Com.Aurora.Shared.Helpers

비공개 메소드들

메소드 설명
Generate ( Vector2 size ) : void

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

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

메소드 상세

Thunder() 공개 메소드

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

프로퍼티 상세

Duration 공개적으로 프로퍼티

public float Duration
리턴 float

Luminace 공개적으로 프로퍼티

public float Luminace
리턴 float

scale 공개적으로 프로퍼티

public float scale
리턴 float