Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
If you want to see English page, please click "English" Button at Left.
[
タイトル一覧
|
ページ一覧
|
新規
|
単語検索
|
最終更新
|
ヘルプ
]
OpenSim/llGroundSet
をテンプレートにして作成
[
トップ
]
[ ]
開始行:
*** llGroundSet(int x, int y, double height), llGroundUpd...
**** OS Function に同じような osTerrainSetHeight(), osTer...
- llGroundSet(): 座標 (x, y) の標高を height にする関数.
- llGroundUpdate(): 変更した標高を適用させる.
- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/L...
// Fumi.Iseki
public void llGroundSet(int x, int y, double heig...
{
m_host.AddScriptLPS(1);
if (World.Permissions.CanTerraformLand(m_host...
{
if (x>=World.Heightmap.Width) x = World....
else if (x<0) x = 0;
if (y>=World.Heightmap.Height) y = World....
else if (y<0) y = 0;
World.Heightmap[x, y] = height;
}
}
// Fumi.Iseki
public void llGroundUpdate()
{
m_host.AddScriptLPS(1);
ITerrainModule tm = m_ScriptEngine.World.Requ...
if (tm != null)
{
tm.TaintTerrain();
}
}
- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub...
// Fumi.Iseki
public void llGroundSet(int x, int y, double heig...
{
m_LSL_Functions.llGroundSet(x, y, height);
}
// Fumi.Iseki
public void llGroundUpdate()
{
m_LSL_Functions.llGroundUpdate();
}
- OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_A...
void llGroundSet(int x, int y, double height);
void llGroundUpdate();
*** 別解:TerrainModule.cs に SetHeightMap() 関数を追加...
- OpenSim/Region/ScriptEngine編集/Shared/Api/Implementati...
// Fumi.Iseki
public void llGroundSet(int x, int y, double heig...
{
m_host.AddScriptLPS(1);
if (World.Permissions.CanTerraformLand(m_host...
{
ITerrainModule tm = m_ScriptEngine.World....
if (tm != null)
{
if (x>=World.Heightmap.Width) x = Wo...
else if (x<0) x = 0;
if (y>=World.Heightmap.Height) y = Wo...
else if (y<0) y = 0;
tm.SetHeightMap(x, y, height, m_host....
}
}
}
- OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
public void SetHeightMap(int x, int y, double height, UU...
{
if (m_scene.Permissions.CanTerraformLand(agentId, ne...
{
m_channel[x, y] = height;
}
}
-- チェックが2重だな
- OpenSim/Region/Framework/Interfaces/ITerrainModule.cs ...
void SetHeightMap(int x, int y, double height, UUID agen...
終了行:
*** llGroundSet(int x, int y, double height), llGroundUpd...
**** OS Function に同じような osTerrainSetHeight(), osTer...
- llGroundSet(): 座標 (x, y) の標高を height にする関数.
- llGroundUpdate(): 変更した標高を適用させる.
- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/L...
// Fumi.Iseki
public void llGroundSet(int x, int y, double heig...
{
m_host.AddScriptLPS(1);
if (World.Permissions.CanTerraformLand(m_host...
{
if (x>=World.Heightmap.Width) x = World....
else if (x<0) x = 0;
if (y>=World.Heightmap.Height) y = World....
else if (y<0) y = 0;
World.Heightmap[x, y] = height;
}
}
// Fumi.Iseki
public void llGroundUpdate()
{
m_host.AddScriptLPS(1);
ITerrainModule tm = m_ScriptEngine.World.Requ...
if (tm != null)
{
tm.TaintTerrain();
}
}
- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub...
// Fumi.Iseki
public void llGroundSet(int x, int y, double heig...
{
m_LSL_Functions.llGroundSet(x, y, height);
}
// Fumi.Iseki
public void llGroundUpdate()
{
m_LSL_Functions.llGroundUpdate();
}
- OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_A...
void llGroundSet(int x, int y, double height);
void llGroundUpdate();
*** 別解:TerrainModule.cs に SetHeightMap() 関数を追加...
- OpenSim/Region/ScriptEngine編集/Shared/Api/Implementati...
// Fumi.Iseki
public void llGroundSet(int x, int y, double heig...
{
m_host.AddScriptLPS(1);
if (World.Permissions.CanTerraformLand(m_host...
{
ITerrainModule tm = m_ScriptEngine.World....
if (tm != null)
{
if (x>=World.Heightmap.Width) x = Wo...
else if (x<0) x = 0;
if (y>=World.Heightmap.Height) y = Wo...
else if (y<0) y = 0;
tm.SetHeightMap(x, y, height, m_host....
}
}
}
- OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
public void SetHeightMap(int x, int y, double height, UU...
{
if (m_scene.Permissions.CanTerraformLand(agentId, ne...
{
m_channel[x, y] = height;
}
}
-- チェックが2重だな
- OpenSim/Region/Framework/Interfaces/ITerrainModule.cs ...
void SetHeightMap(int x, int y, double height, UUID agen...
ページ名:
サイト内 検索
高度な検索
ログイン
ユーザー名:
パスワード:
パスワード紛失
新規登録
サブ メニュー
新着情報
Books
リンク
サイトマップ
e-Learning
TUIS 認証局証明書
ミニカレンダー
2025年 1月
日
月
火
水
木
金
土
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<今日>
オンライン状況
33 人のユーザが現在オンラインです。 (1 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 33
もっと...
アクセスカウンタ
今日 :
昨日 :
総計 :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com