C# 클래스 Universe.Modules.GlobalEnvironment.WindModule

상속: IWindModule, INonSharedRegionModule
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

공개 메소드들

메소드 설명
AddRegion ( IScene scene ) : void
Close ( ) : void
Initialize ( IConfigSource config ) : void
OnAgentEnteredRegion ( IScenePresence avatar ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
WindParamGet ( string plugin, string param ) : float
WindParamSet ( string plugin, string param, float value ) : void
WindSpeed ( int x, int y, int z ) : System.Vector3

Retrieve the wind speed at the given region coordinate. This implementation ignores Z.

WindUpdate ( ) : void

Called on each frame update. Updates the wind model and clients as necessary.

비공개 메소드들

메소드 설명
GenWindPos ( ) : void

Calculate the sun's orbital position and its velocity.

HandleConsoleBaseCommand ( IScene scene, string cmdparams ) : void

Called to change the active wind model plugin

HandleConsoleCommand ( string cmdparams ) : void

Base console command handler, only used if a person specifies the base command with now options

HandleConsoleParamCommand ( IScene scene, string cmdparams ) : void

Called to change plugin parameters.

SendWindAllClients ( ) : void

메소드 상세

AddRegion() 공개 메소드

public AddRegion ( IScene scene ) : void
scene IScene
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( IConfigSource config ) : void
config IConfigSource
리턴 void

OnAgentEnteredRegion() 공개 메소드

public OnAgentEnteredRegion ( IScenePresence avatar ) : void
avatar IScenePresence
리턴 void

RegionLoaded() 공개 메소드

public RegionLoaded ( IScene scene ) : void
scene IScene
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( IScene scene ) : void
scene IScene
리턴 void

WindParamGet() 공개 메소드

public WindParamGet ( string plugin, string param ) : float
plugin string
param string
리턴 float

WindParamSet() 공개 메소드

public WindParamSet ( string plugin, string param, float value ) : void
plugin string
param string
value float
리턴 void

WindSpeed() 공개 메소드

Retrieve the wind speed at the given region coordinate. This implementation ignores Z.
public WindSpeed ( int x, int y, int z ) : System.Vector3
x int 0...255
y int 0...255
z int Ignored
리턴 System.Vector3

WindUpdate() 공개 메소드

Called on each frame update. Updates the wind model and clients as necessary.
public WindUpdate ( ) : void
리턴 void