C# Class OpenSim.Region.CoreModules.WindModule

Inheritance: IWindModule
Mostrar archivo Open project: openmetaversefoundation/fortis-opensim

Public Methods

Method Description
Close ( ) : void
Initialise ( Scene scene, IConfigSource config ) : void
OnAgentEnteredRegion ( ScenePresence avatar ) : void
PostInitialise ( ) : void
WindParamGet ( string param ) : float
WindParamSet ( string param, float value ) : void
WindSpeed ( int x, int y, int z ) : System.Vector3

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

WindUpdate ( ) : void

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

Private Methods

Method Description
GenWindPos ( ) : void

Calculate the sun's orbital position and its velocity.

HandleConsoleBaseCommand ( string module, string cmdparams ) : void
HandleConsoleCommand ( string module, string cmdparams ) : void

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

HandleConsoleParamCommand ( string module, string cmdparams ) : void

Called to change plugin parameters.

SendWindAllClients ( ) : void
ValidateConsole ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Initialise() public method

public Initialise ( Scene scene, IConfigSource config ) : void
scene OpenSim.Region.Framework.Scenes.Scene
config IConfigSource
return void

OnAgentEnteredRegion() public method

public OnAgentEnteredRegion ( ScenePresence avatar ) : void
avatar OpenSim.Region.Framework.Scenes.ScenePresence
return void

PostInitialise() public method

public PostInitialise ( ) : void
return void

WindParamGet() public method

public WindParamGet ( string param ) : float
param string
return float

WindParamSet() public method

public WindParamSet ( string param, float value ) : void
param string
value float
return void

WindSpeed() public method

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

WindUpdate() public method

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