34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
|
||
|
#if FUNCELL_EDITOR
|
||
|
namespace PathEditor.Proxy.Editor
|
||
|
#else
|
||
|
namespace PathEditor.Proxy.Plugin
|
||
|
#endif
|
||
|
{
|
||
|
public interface IPathItemMonoInterface
|
||
|
{
|
||
|
//输出log
|
||
|
void DebugMessage(string msg);
|
||
|
//设置场景地图的path grid的类型
|
||
|
void setMergeGrid(PathGridType[,] mergeGrid);
|
||
|
//设置场景地图的path grid的高度
|
||
|
void setHeightMap(short[] heightMap);
|
||
|
//设置场景地图的行数和列数
|
||
|
void setRowCol(int rows, int col);
|
||
|
//设置显示特定类型的单元格
|
||
|
void setTitle(bool all, bool block, bool water, bool jump, bool grass, bool stone, bool sand, bool marsh, bool wood, bool snow, bool safe, bool onlybake);
|
||
|
//设置bake path grid
|
||
|
void setBakePathGrid(PathGridType[,] bakePathGrid);
|
||
|
//设置半径
|
||
|
void setWeightRadius(int radius);
|
||
|
void setCellSize(float cellSize);
|
||
|
//获取bake的最小高度和最高高度
|
||
|
float getbakeHeightRangeMin();
|
||
|
float getbakeHeightRangeMax();
|
||
|
}
|
||
|
}
|