Logo
クラス | 公開メンバ関数 | 公開変数類 | 静的公開変数類 | イベント | 全メンバ一覧
Yukar.Engine.Terrain クラス

地形メッシュを管理するためのクラス [詳解]

公開メンバ関数

int getClusterHCount ()
int getClusterDCount ()
MapClusterBuilder getClusterBuilder (int x, int z)
void setPhysics (SharpKmyPhysics.PhysicsBase p)
SharpKmyGfx.Texture getTerrainSelectionTexture ()
Terrain (MapData d)
void setRom (Common.Rom.Map rom, uint displayID, bool toponly)
void destroy ()
void updateUndoGeometry (int x, int z, int w, int h)
void init (bool delayedSmoothing)
void invalidateAll ()
void update ()
void update (float elapsed)
void reset ()
bool hasCluster ()
MapClusterBuilder getClusterByClusterIndex (int idxx, int idxz)
void updateGeomEnable (bool flg)
void updateGeom (bool all=true)
List< System.Drawing.Bitmap > getMapTextures ()
SharpKmyMath.Rectangle GetDrawArea ()
int getChipIndex (Common.Resource.MapChip parts, bool autoAdd=true)
void clearTerrainSelection ()
void setTerrainSelectionColor (int x, int z, uint color)
uint getTerrainSelectionColor (int x, int z)
void terrainSelectionColorTextureUpdate ()
void deselectTerrain (int x, int z, int w, int h)
void scroll (int xdir, int zdir)

公開変数類

int mClusterSize = 16
SharpKmyPhysics.PhysicsBase physics = null
SharpKmyGfx.Texture mapColTexture
SharpKmyGfx.Texture mapNrmTexture
SharpKmyGfx.Texture mapMskTexture
SharpKmyGfx.Texture masktexture
ChipSetInfo chipSetInfo = new ChipSetInfo()
bool geomUpdatable = true

静的公開変数類

const int MASKMAPSIZE = 512
const uint COLOR_CLEAR = 0xff000000
const uint COLOR_EVENT_RANGE = 0x89000088
static int SelectionShaderNo = 0

イベント

onTerrainUpdate terrainUpdate
onTerrainSelectionChange terrainSelectionChange

詳解

地形メッシュを管理するためのクラス


このクラス詳解は次のファイルから抽出されました: