グリッド上に配置してある1マスのデータ。
More...
|
| delegate void | DestroyCallbackFunction (Cell cell) |
| | Cellが破棄される際に呼ばれるDelegateメソッド More...
|
| |
| | Cell (Map map, Point2 position, Tile tile) |
| | Nostalgia.Cellクラスの新しいインスタンスを初期化。 More...
|
| |
| | Cell (Map map, Cell cell) |
| | 既存のNostalgia.Cellインスタンスをコピーして初期化。 More...
|
| |
| void | SetPartsIndex (int x, int y, int index) |
| | パーツのインデックスを設定。 More...
|
| |
| int | GetPartsIndex (int x, int y) |
| | パーツのインデックスを取得。 More...
|
| |
| void | SetVertexColor (int x, int y, int index, Color color) |
| | 頂点カラーを設定する More...
|
| |
| Color | GetVertexColor (int x, int y, int index) |
| | 頂点カラーを取得する。 More...
|
| |
| bool | CheckCombineMesh (Tile.Type tileType, out int partsIndex, out Color vertexColor) |
| | メッシュを結合するか判定する More...
|
| |
| bool CheckCombineMesh |
( |
Tile.Type |
tileType, |
|
|
out int |
partsIndex, |
|
|
out Color |
vertexColor |
|
) |
| |
メッシュを結合するか判定する
- Parameters
-
| tileType | Tileのタイプ |
| partsIndex | パーツインデックス |
| vertexColor | 頂点カラー |
- Returns
true, 結合可能 false 結合不可
| delegate void DestroyCallbackFunction |
( |
Cell |
cell | ) |
|
Cellが破棄される際に呼ばれるDelegateメソッド
- Parameters
-
| static int GetPartsIndex |
( |
int |
partsID, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
static |
パーツのインデックスを取得。
- Returns
- パーツのインデックス。
- Parameters
-
| partsID | 現在のパーツID。 |
| x | x座標(0~1) |
| y | y座標(0~1) |
| int GetPartsIndex |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
パーツのインデックスを取得。
- Returns
- パーツのインデックス。
- Parameters
-
| Color GetVertexColor |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
index |
|
) |
| |
頂点カラーを取得する。
- Returns
- 頂点カラー
- Parameters
-
| x | x座標(0~1) |
| y | y座標(0~1) |
| index | 頂点インデックス |
| static int SetPartsIndex |
( |
int |
partsID, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
index |
|
) |
| |
|
static |
パーツインデックスを設定する。
- Returns
- パーツインデックス。
- Parameters
-
| partsID | 現在のパーツID。 |
| x | x座標(0~1) |
| y | y座標(0~1) |
| index | インデックス |
| void SetPartsIndex |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
index |
|
) |
| |
パーツのインデックスを設定。
- Parameters
-
| x | x座標(0~1) |
| y | y座標(0~1) |
| index | インデックス |
| void SetVertexColor |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
index, |
|
|
Color |
color |
|
) |
| |
頂点カラーを設定する
- Parameters
-
| x | x座標(0~1) |
| y | y座標(0~1) |
| index | 頂点インデックス |
| color | 頂点カラー |