C# Класс Universe.Modules.GlobalEnvironment.WindModule

Наследование: IWindModule, INonSharedRegionModule
Показать файл Открыть проект

Открытые методы

Метод Описание
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