Свойство | Тип | Описание | |
---|---|---|---|
m_noTerrain | bool | ||
m_terrainPatchesSent | Dictionary |
||
m_use3DWater | bool |
Метод | Описание | |
---|---|---|
AddConsoleCommands ( ) : void |
Adds the console commands.
|
|
AddRegion ( IScene scene ) : void | ||
CalcLandArea ( IScene scene ) : uint |
Calculates the land area.
|
|
CheckForTerrainUpdates ( ) : void |
Checks to see if the terrain has been modified since last check but won't attempt to limit those changes to the limits specified in the estate settings currently invoked by the command line operations in the region server only
|
|
CheckForTerrainUpdates ( bool respectEstateSettings, bool forceSendOfTerrainInfo, bool isWater ) : void |
Checks to see if the terrain has been modified since last check. If it has been modified, every all the terrain patches are sent to the client. If the call is asked to respect the estate settings for terrain_raise_limit and terrain_lower_limit, it will clamp terrain updates between these values currently invoked by client_OnModifyTerrain only and not the Commander interfaces should height map deltas be limited to the estate settings limits force send terrain Check water or terrain
|
|
Close ( ) : void | ||
EventManager_OnNewClient ( IClientAPI client ) : void |
Installs terrain brush hook to IClientAPI
|
|
EventManager_OnSignificantClientMovement ( IScenePresence presence ) : void | ||
Initialize ( IConfigSource config ) : void |
Creates and initializes a terrain module for a region
|
|
InstallDefaultEffects ( ) : void |
Installs into terrain module the standard suite of brushes
|
|
InterfaceBakeTerrain ( IScene scene, string cmd ) : void | ||
InterfaceCalcArea ( IScene scene, string cmd ) : void | ||
InterfaceElevateTerrain ( IScene scene, string cmd ) : void | ||
InterfaceEnableExperimentalBrushes ( IScene scene, string cmd ) : void | ||
InterfaceFillTerrain ( IScene scene, string cmd ) : void | ||
InterfaceFlipTerrain ( IScene scene, string cmd ) : void | ||
InterfaceGenerateTerrain ( IScene scene, string cmd ) : void |
User interface for user generation of terrain in the selected region.
|
|
InterfaceHelp ( IScene scene, string cmd ) : void |
Command line interface help.
|
|
InterfaceLoadFile ( IScene scene, string cmd ) : void | ||
InterfaceLoadTileFile ( IScene scene, string cmd ) : void | ||
InterfaceLowerTerrain ( IScene scene, string cmd ) : void | ||
InterfaceMultiplyTerrain ( IScene scene, string cmd ) : void | ||
InterfaceRescaleTerrain ( IScene scene, string cmd ) : void | ||
InterfaceRevertTerrain ( IScene scene, string cmd ) : void | ||
InterfaceSaveFile ( IScene scene, string cmd ) : void | ||
InterfaceSavePhysics ( IScene scene, string cmd ) : void | ||
InterfaceShowDebugStats ( IScene scene, string cmd ) : void | ||
InternalLoadFromStream ( string filename, Stream stream, int offsetX, int offsetY, ITerrainChannel update ) : ITerrainChannel |
Loads a terrain file from a stream and installs it in the scene.
|
|
LoadFromFile ( string filename, int offsetX, int offsetY ) : void |
Loads a terrain file from disk and installs it in the scene.
|
|
LoadFromStream ( string filename, Stream stream ) : void |
Loads a terrain file from a stream and installs it in the scene.
|
|
LoadFromStream ( string filename, Stream stream, int offsetX, int offsetY ) : void |
Loads a terrain file from a stream and installs it in the scene.
|
|
LoadFromStream ( string filename, |
Loads a terrain file from the specified URI
|
|
LoadPlugins ( ) : void | ||
LoadRevertMap ( ) : void |
Loads the World Revert heightmap
|
|
LoadRevertMapFromStream ( string filename, Stream stream, int offsetX, int offsetY ) : void |
Loads a terrain file from a stream and installs it in the scene.
|
|
LoadRevertWaterMap ( ) : void |
Loads the World Revert heightmap
|
|
LoadTileFromFile ( string filename, int fileTileWidth, int fileTileHeight, int tileLocX, int tileLocY ) : void |
Loads a 256x256 tile from a larger terrain file and installs it into the region.
|
|
LoadWaterFromStream ( string filename, Stream stream, int offsetX, int offsetY ) : void |
Loads a terrain file from a stream and installs it in the scene.
|
|
LoadWaterRevertMapFromStream ( string filename, Stream stream, int offsetX, int offsetY ) : void |
Loads a terrain file from a stream and installs it in the scene.
|
|
LoadWorldHeightmap ( ) : void |
Loads the World heightmap
|
|
LoadWorldWaterMap ( ) : void |
Loads the World heightmap
|
|
ModifyTerrain ( UUID user, System.Vector3 pos, byte size, byte action, UUID agentId ) : void |
Modify Land
|
|
OnClosingClient ( IClientAPI client ) : void | ||
OnNewPresence ( IScenePresence presence ) : void | ||
QueueTerrainUpdate ( ) : void | ||
RegionLoaded ( IScene scene ) : void | ||
RemoveRegion ( IScene scene ) : void | ||
ResetTerrain ( ) : void |
Reset the terrain of this region to the default
|
|
ResetWater ( ) : void |
Reset the terrain of this region to the default
|
|
SaveToFile ( string filename ) : void |
Saves the current heightmap to a specified file.
|
|
SaveToStream ( ITerrainChannel channel, string filename, Stream stream ) : void |
Saves the current heightmap to a specified stream.
|
|
SendLayerData ( IClientAPI RemoteClient ) : void |
Send the region heightmap to the client
|
|
StoreUndoState ( ) : void | ||
TaintTerrain ( ) : void | ||
TerrainUpdateTimer ( object sender, |
||
UndoTerrain ( ITerrainChannel channel ) : void | ||
UpdateRevertMap ( ) : void |
Saves the current state of the region into the revert map buffer.
|
|
UpdateRevertWaterMap ( ) : void |
Saves the current state of the region into the revert map buffer.
|
|
UpdateWaterHeight ( double height ) : void | ||
client_OnBakeTerrain ( IClientAPI remoteClient ) : void | ||
client_OnLandUndo ( IClientAPI client ) : void | ||
client_OnModifyTerrain ( UUID user, float height, float seconds, byte size, byte action, float north, float west, float south, float east, UUID agentId, float BrushSize ) : void | ||
client_onGodlikeMessage ( IClientAPI client, UUID requester, string Method, List |
Метод | Описание | |
---|---|---|
SendTerrainUpdatesForClient ( IScenePresence presence ) : void |
Метод | Описание | |
---|---|---|
FindModuleForScene ( IScene scene ) : List |
||
GetTerrainLoader ( string fileName ) : ITerrainLoader |
Gets the terrain loader.
|
|
LimitChannelChanges ( ITerrainChannel channel, ITerrainChannel revert ) : bool |
Checks to see height deltas in the tainted terrain patch at xStart ,yStart are all within the current estate limits
|
|
LimitMaxTerrain ( ITerrainChannel channel ) : bool | ||
URIFetch ( |
||
UniverseEventManager_OnGenericEvent ( string FunctionName, object parameters ) : object |
public CalcLandArea ( IScene scene ) : uint | ||
scene | IScene | Scene. |
Результат | uint |
public CheckForTerrainUpdates ( bool respectEstateSettings, bool forceSendOfTerrainInfo, bool isWater ) : void | ||
respectEstateSettings | bool | |
forceSendOfTerrainInfo | bool | |
isWater | bool | |
Результат | void |
public EventManager_OnNewClient ( IClientAPI client ) : void | ||
client | IClientAPI | |
Результат | void |
public EventManager_OnSignificantClientMovement ( IScenePresence presence ) : void | ||
presence | IScenePresence | |
Результат | void |
public Initialize ( IConfigSource config ) : void | ||
config | IConfigSource | Config for the region |
Результат | void |
public InterfaceBakeTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceCalcArea ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceElevateTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceEnableExperimentalBrushes ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceFillTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceFlipTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceGenerateTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | Scene. |
cmd | string | Cmd. |
Результат | void |
public InterfaceHelp ( IScene scene, string cmd ) : void | ||
scene | IScene | Scene. |
cmd | string | Cmd. |
Результат | void |
public InterfaceLoadFile ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceLoadTileFile ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceLowerTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceMultiplyTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceRescaleTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceRevertTerrain ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceSaveFile ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceSavePhysics ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InterfaceShowDebugStats ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public InternalLoadFromStream ( string filename, Stream stream, int offsetX, int offsetY, ITerrainChannel update ) : ITerrainChannel | ||
filename | string | Filename to terrain file. Type is determined by extension. |
stream | Stream | |
offsetX | int | |
offsetY | int | |
update | ITerrainChannel | |
Результат | ITerrainChannel |
public LoadFromFile ( string filename, int offsetX, int offsetY ) : void | ||
filename | string | Filename to terrain file. Type is determined by extension. |
offsetX | int | |
offsetY | int | |
Результат | void |
public LoadFromStream ( string filename, Stream stream ) : void | ||
filename | string | Filename to terrain file. Type is determined by extension. |
stream | Stream | |
Результат | void |
public LoadFromStream ( string filename, Stream stream, int offsetX, int offsetY ) : void | ||
filename | string | Filename to terrain file. Type is determined by extension. |
stream | Stream | |
offsetX | int | |
offsetY | int | |
Результат | void |
public LoadFromStream ( string filename, |
||
filename | string | The name of the terrain to load |
pathToTerrainHeightmap | The URI to the terrain height map | |
Результат | void |
public LoadRevertMapFromStream ( string filename, Stream stream, int offsetX, int offsetY ) : void | ||
filename | string | Filename to terrain file. Type is determined by extension. |
stream | Stream | |
offsetX | int | |
offsetY | int | |
Результат | void |
public LoadTileFromFile ( string filename, int fileTileWidth, int fileTileHeight, int tileLocX, int tileLocY ) : void | ||
filename | string | The terrain file to load |
fileTileWidth | int | The width of the file |
fileTileHeight | int | The height of the file |
tileLocX | int | Where to begin our slice |
tileLocY | int | Where to begin our slice |
Результат | void |
public LoadWaterFromStream ( string filename, Stream stream, int offsetX, int offsetY ) : void | ||
filename | string | Filename to terrain file. Type is determined by extension. |
stream | Stream | |
offsetX | int | |
offsetY | int | |
Результат | void |
public LoadWaterRevertMapFromStream ( string filename, Stream stream, int offsetX, int offsetY ) : void | ||
filename | string | Filename to terrain file. Type is determined by extension. |
stream | Stream | |
offsetX | int | |
offsetY | int | |
Результат | void |
public ModifyTerrain ( UUID user, System.Vector3 pos, byte size, byte action, UUID agentId ) : void | ||
user | UUID | |
pos | System.Vector3 | Land-position (X,Y,0) |
size | byte | The size of the brush (0=small, 1=medium, 2=large) |
action | byte | 0=LAND_LEVEL, 1=LAND_RAISE, 2=LAND_LOWER, 3=LAND_SMOOTH, 4=LAND_NOISE, 5=LAND_REVERT |
agentId | UUID | UUID of script-owner |
Результат | void |
public OnClosingClient ( IClientAPI client ) : void | ||
client | IClientAPI | |
Результат | void |
public OnNewPresence ( IScenePresence presence ) : void | ||
presence | IScenePresence | |
Результат | void |
public RegionLoaded ( IScene scene ) : void | ||
scene | IScene | |
Результат | void |
public RemoveRegion ( IScene scene ) : void | ||
scene | IScene | |
Результат | void |
public SaveToFile ( string filename ) : void | ||
filename | string | The destination filename |
Результат | void |
public SaveToStream ( ITerrainChannel channel, string filename, Stream stream ) : void | ||
channel | ITerrainChannel | |
filename | string | The destination filename. Used here only to identify the image type |
stream | Stream | |
Результат | void |
public SendLayerData ( IClientAPI RemoteClient ) : void | ||
RemoteClient | IClientAPI | Client to send to |
Результат | void |
protected SendTerrainUpdatesForClient ( IScenePresence presence ) : void | ||
presence | IScenePresence | |
Результат | void |
public TerrainUpdateTimer ( object sender, |
||
sender | object | |
ea | ||
Результат | void |
public UndoTerrain ( ITerrainChannel channel ) : void | ||
channel | ITerrainChannel | |
Результат | void |
public UpdateWaterHeight ( double height ) : void | ||
height | double | |
Результат | void |
public client_OnBakeTerrain ( IClientAPI remoteClient ) : void | ||
remoteClient | IClientAPI | |
Результат | void |
public client_OnLandUndo ( IClientAPI client ) : void | ||
client | IClientAPI | |
Результат | void |
public client_OnModifyTerrain ( UUID user, float height, float seconds, byte size, byte action, float north, float west, float south, float east, UUID agentId, float BrushSize ) : void | ||
user | UUID | |
height | float | |
seconds | float | |
size | byte | |
action | byte | |
north | float | |
west | float | |
south | float | |
east | float | |
agentId | UUID | |
BrushSize | float | |
Результат | void |
public client_onGodlikeMessage ( IClientAPI client, UUID requester, string Method, List |
||
client | IClientAPI | |
requester | UUID | |
Method | string | |
Parameters | List |
|
Результат | void |
protected Dictionary |
||
Результат | Dictionary |