C# Class Universe.Modules.GlobalEnvironment.WindModule

Inheritance: IWindModule, INonSharedRegionModule
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

AddRegion() public méthode

public AddRegion ( IScene scene ) : void
scene IScene
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource config ) : void
config IConfigSource
Résultat void

OnAgentEnteredRegion() public méthode

public OnAgentEnteredRegion ( IScenePresence avatar ) : void
avatar IScenePresence
Résultat void

RegionLoaded() public méthode

public RegionLoaded ( IScene scene ) : void
scene IScene
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( IScene scene ) : void
scene IScene
Résultat void

WindParamGet() public méthode

public WindParamGet ( string plugin, string param ) : float
plugin string
param string
Résultat float

WindParamSet() public méthode

public WindParamSet ( string plugin, string param, float value ) : void
plugin string
param string
value float
Résultat void

WindSpeed() public méthode

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
Résultat System.Vector3

WindUpdate() public méthode

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