Logo
クラス | 公開型 | 公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 静的公開変数類 | プロパティ | イベント | 全メンバ一覧
Yukar.Engine.MapData クラス

Common.Rom.Map を読み込んで、地形や物体の3Dモデルを生成・管理するためのクラス [詳解]

Yukar.Engine.MapData の継承関係図
SharpKmyGfx::Drawable

クラス

class  DummyNotifyObject
 コリジョンに通知を無視すべきオブジェクトが衝突したことを通知するためのクラス
 
class  HeightMapResult
 物体のおおよそのコリジョン情報を噛み砕いて格納するためのクラス(SGB用のためBakinでは後々削除する) [詳解]
 

公開型

enum  STAIR_STAT {
  NONE = -1 , POS_Z , NEG_Z , POS_X ,
  NEG_X , RIDGE_POSZ_POSX , RIDGE_NEGZ_NEGX , RIDGE_NEGZ_POSX ,
  RIDGE_POSZ_NEGX , VALLEY_POSZ_POSX , VALLEY_NEGZ_NEGX , VALLEY_NEGZ_POSX ,
  VALLEY_POSZ_NEGX
}
 階段・坂道の向き [詳解]
 
enum  PICKUP_DRAW_MAPOBJECT { kALL , kBUILDING_ONLY , kNONE }
 ピックアップ種別 [詳解]
 
enum  Corner { TopLeft , BottomRight }
 地形のどちらの角か(UV生成用) [詳解]
 

公開メンバ関数

SharpKmyGfx.DrawInfo GetDrawInfo ()
 
float getAspect ()
 
SkyDrawer GetSkyDrawer ()
 
 MapData (SharpKmyGfx.SpriteBatch s)
 
void setRom (Map data, bool topViewOnly, bool isForcedUpdate, uint displayID, bool terrainInit, bool useDirty=false, bool delayedSmoothing=true)
 
void setDisplayID (uint displayID)
 
void pause ()
 サウンドの再開 [詳解]
 
void resume ()
 サウンドの再開 [詳解]
 
void setRomWithoutGraphics (Map data)
 
Map getRom ()
 
IEnumerator setRomImpl (Map data, bool isChangeScene, bool topViewOnly, bool terrainInit, bool useDirty=false, bool delayedSmoothing=true)
 
void SetupMapObjects (bool useDirty)
 
void UnloadModel (List< Guid > inIdList)
 
void reloadAsset (bool isChangeSkyModel, bool isChangeEnvironmentEffect)
 
void setLookAtPos (SharpKmyMath.Vector3 p)
 
void Reset (bool terrainInit=true, bool useDirty=false)
 
void ResetMapObjects (bool useDirty)
 
void Destroy ()
 
SharpKmyMath.Vector2 getSize ()
 
void setEventRangeColor (List< Map.EventRef > events)
 
void Update (float elapsed)
 
void updateMapHeightAndWalkableState (bool isEnableCalcBuildingObjectHeight=true)
 
void updateCollisionDepotInUnity ()
 
bool isStair (int index)
 
SharpKmyMath.Vector2[] getStairTexCoord (int index, int mapHeightScale)
 
SharpKmyMath.Vector2[] getRidgeStairTexCoord (int index)
 
SharpKmyMath.Vector2[] getValleyStairTexCoord (int index)
 
SharpKmyMath.Vector2[] getSlopeTexCoord (int index)
 
ChipInfo GetChipInfo (int index)
 
SharpKmyMath.Vector2 getTerrainTexCoordCorner (ChipInfo chipInfo, Corner corner, int position, int height, bool isStairs=false, bool isBottom=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordCorner (int index, Corner corner, int position, int height, bool isStairs=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordTopLeft (ChipInfo obj, int position, int height, bool isStairs=false, bool isBottom=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordBottomRight (ChipInfo obj, int position, int height, bool isStairs=false, bool isBottom=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordTopLeft (int index, int position, int height, bool isStairs=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordBottomRight (int index, int position, int height, bool isStairs=false)
 
SharpKmyMath.Vector2 getWaveTexCoordTopLeft (int index)
 
SharpKmyMath.Vector2 getWaveTexCoordBottomRight (int index)
 
Common.Resource.MapChip getTerrainInfo (int index)
 
Common.Resource.MapChip getStairInfo (int index)
 
bool getTerrainWalkable (int index)
 
bool getTerrainSquareShape (int index)
 
bool getTerrainLiquidArea (int index)
 
void updateFogParam (SharpKmyMath.Matrix4 pm)
 
void afterViewPositionFixProc (SharpKmyGfx.Render scn)
 
void updateMapObjectPosture (MapObjectInstance p, bool billboardable, float billboardAngle)
 
override void draw (SharpKmyGfx.Render scn)
 
void setLightCoeff (float bloom, float light, float chrom)
 
void setDofCoeff (Vector3 dofCoeff)
 
void applyLight (SharpKmyGfx.GameView gv, SharpKmyMath.Matrix4 p, SharpKmyMath.Matrix4 v, bool stencilShadow, SharpKmyMath.Vector3 seListenerPos)
 
MapObjectInstance getMapObjectInstance (int idx)
 
MapObjectInstance[] getMapObjectInstance (Map.MapObjectRef inRef)
 
MapObjectInstance getMapObjectInstanceByPickupID (ushort id)
 
MapClusterBuilder getClusterByPosition (float x, float z)
 
float getTerrainHeight (int x, int z)
 
float getCharacterHeight (float x, float z)
 
float getCollisionHeight (int x, int z)
 
float getFurnitureHeight (int x, int z, int height=-1)
 
bool getCellIsRoof (int x, int z)
 
float getAdjustedHeight (float x, float z)
 
float addStairHeight (float x, float z, float bh)
 
int getStairDir (int x, int z)
 
int getStairDirAuto (int x, int z)
 
STAIR_STAT getStairStat (int x, int z, ref Common.Rom.Map.StairRef sr)
 
void stairUpdate (int x, int y, int z, int scaleFactor)
 
bool isWalkable (int x, int z)
 
void updateBuildingLight ()
 
void addMapObjectInstance (Common.Rom.Map.MapObjectRef mor, List< Common.Rom.RomItem > list)
 
Common.Rom.Map.MapObjectRef addMapObject (float x, float z, Guid guid)
 
void addMapObject (Common.Rom.Map.MapObjectRef mr)
 
void removeMapObject (Common.Rom.Map.MapObjectRef m)
 
Common.Rom.Map.EventRef addEvent (int x, int z)
 
void addEvent (Common.Rom.Map.EventRef ev)
 
void removeEvent (Map.EventRef ev, Dictionary< Map, List< Map.Place > > removedPlaces)
 
void removeEventWithoutPlaces (Map.EventRef ev)
 
Common.Rom.Map.StairRef addStair (int x, int z, int index, bool extStair=false, Map.StairRef stair=null)
 
void addStair (Common.Rom.Map.StairRef sr, bool autoDirection=true)
 
void removeStair (Common.Rom.Map.StairRef sr)
 
void addLocalLight (Common.Rom.Map.LocalLight ll)
 
void removeLocalLight (Common.Rom.Map.LocalLight ll)
 
void addPlace (Common.Rom.Map.Place p)
 
void removePlace (Common.Rom.Map.Place p)
 
void setTerrainHeight (int x, int z, int height)
 
bool setTerrainAttr (int x, int z, int attr, Common.Rom.Map.AttribDir dir, bool geometryUpdate=true)
 
bool setTerrainUVFlip (int x, int z, Common.Rom.Map.AttribDir dir, bool flip)
 
bool setTerrain (int x, int z, int height, int attrib, bool geometryUpdate=true)
 
int getChipIndex (Common.Resource.MapChip parts, bool autoAdd=true)
 
Common.Resource.MapChip getBgChip ()
 
float getRoofAdjustedHeight (float dx, float dz, float dy)
 
float getHeightOnCantMove (float x, float z, float y)
 移動不可の一つ上の高さを取得する(階段のオフセット値を含む) [詳解]
 
float getHeightOnCantMoveRev (float x, float z, float y)
 移動不可の一つ下の高さを取得する(階段のオフセット値を含む) [詳解]
 
void stopPickupExceptTerrain (bool flg)
 
void setFogEnabled (bool @checked)
 
void setRenderSettings (RenderSettings renderSettings, bool forceReload=false)
 
- 基底クラス SharpKmyGfx::Drawable に属する継承公開メンバ関数
 Drawable ()
 
void Release ()
 
virtual void draw (Render ^scn)
 

静的公開メンバ関数

static bool isValidName (String inName)
 
static string convertValidName (Map inMap)
 
static void setGameViewRenderParams (SharpKmyGfx.GameView gv, RenderSettings rs, bool ignoreBackground=false)
 
static void applyRenderSettings (SharpKmyGfx.GameView gv, RenderSettings rp, float lightCoeff=1f, float bloomCoeff=1f, Vector3? dofCoeff=null, float chromabCoeff=0f)
 
static void CombineMotionResource (SharpKmyGfx.ModelInstance mmi, Common.Resource.GfxResourceBase rom)
 モデルにモーションリソースを関連付ける(ついでに、0番目のモーションを再生する) [詳解]
 

公開変数類

uint displayID = GameMain.sDefaultDisplayID
 
Terrain terrain = null
 
Map currentRom = null
 
RenderSettings renderSettings
 
SkyDrawer sky = null
 
float bloomCoeff = 1
 
float lightCoeff = 1
 
float chromabCoeff = 0
 
bool shadowUneditableArea = false
 
bool isExpandViewRange = false
 
bool isEditor = false
 
string mDebugMessage
 
int mDebugMessageX = 0
 
int mDebugMessageY = 0
 
bool mDebugMessageEnable = true
 
PICKUP_DRAW_MAPOBJECT drawMapObject = PICKUP_DRAW_MAPOBJECT.kALL
 
Func< int, int, string, bool > progressListener
 
- 基底クラス SharpKmyGfx::Drawable に属する継承公開変数類
System::Runtime::InteropServices::GCHandle handle
 

静的公開変数類

const int MIN_HEIGHT = 0
 
const int MAX_HEIGHT = 100
 
static SharpKmyGfx.Render pickupscene = null
 

プロパティ

Map mapRom = null [get]
 
List< MapObjectInstanceMapObjects [get]
 
MapCollisionsDepotWithBit MapCollisionsDepotWithBit [get]
 マップの当たり判定の情報をビットに入れたもの [詳解]
 
bool ShowPerformance [get, set]
 

イベント

MapDrawCallBack mapDrawCallBack
 
onMapInitialize mapInitialize
 
onMapReset mapReset
 

詳解

Common.Rom.Map を読み込んで、地形や物体の3Dモデルを生成・管理するためのクラス

列挙型メンバ詳解

◆ Corner

地形のどちらの角か(UV生成用)

列挙値
TopLeft 
BottomRight 

◆ PICKUP_DRAW_MAPOBJECT

ピックアップ種別

列挙値
kALL 
kBUILDING_ONLY 
kNONE 

◆ STAIR_STAT

階段・坂道の向き

列挙値
NONE 
POS_Z 
NEG_Z 
POS_X 
NEG_X 
RIDGE_POSZ_POSX 
RIDGE_NEGZ_NEGX 
RIDGE_NEGZ_POSX 
RIDGE_POSZ_NEGX 
VALLEY_POSZ_POSX 
VALLEY_NEGZ_NEGX 
VALLEY_NEGZ_POSX 
VALLEY_POSZ_NEGX 

構築子と解体子

◆ MapData()

Yukar.Engine.MapData.MapData ( SharpKmyGfx.SpriteBatch  s)

メソッド詳解

◆ addEvent() [1/2]

void Yukar.Engine.MapData.addEvent ( Common.Rom.Map.EventRef  ev)

◆ addEvent() [2/2]

Common.Rom.Map.EventRef Yukar.Engine.MapData.addEvent ( int  x,
int  z 
)

◆ addLocalLight()

void Yukar.Engine.MapData.addLocalLight ( Common.Rom.Map.LocalLight  ll)

◆ addMapObject() [1/2]

void Yukar.Engine.MapData.addMapObject ( Common.Rom.Map.MapObjectRef  mr)

◆ addMapObject() [2/2]

Common.Rom.Map.MapObjectRef Yukar.Engine.MapData.addMapObject ( float  x,
float  z,
Guid  guid 
)

◆ addMapObjectInstance()

void Yukar.Engine.MapData.addMapObjectInstance ( Common.Rom.Map.MapObjectRef  mor,
List< Common.Rom.RomItem >  list 
)

◆ addPlace()

void Yukar.Engine.MapData.addPlace ( Common.Rom.Map.Place  p)

◆ addStair() [1/2]

void Yukar.Engine.MapData.addStair ( Common.Rom.Map.StairRef  sr,
bool  autoDirection = true 
)

◆ addStair() [2/2]

Common.Rom.Map.StairRef Yukar.Engine.MapData.addStair ( int  x,
int  z,
int  index,
bool  extStair = false,
Map.StairRef  stair = null 
)

◆ addStairHeight()

float Yukar.Engine.MapData.addStairHeight ( float  x,
float  z,
float  bh 
)

◆ afterViewPositionFixProc()

void Yukar.Engine.MapData.afterViewPositionFixProc ( SharpKmyGfx.Render  scn)

◆ applyLight()

void Yukar.Engine.MapData.applyLight ( SharpKmyGfx.GameView  gv,
SharpKmyMath.Matrix4  p,
SharpKmyMath.Matrix4  v,
bool  stencilShadow,
SharpKmyMath.Vector3  seListenerPos 
)

◆ applyRenderSettings()

static void Yukar.Engine.MapData.applyRenderSettings ( SharpKmyGfx.GameView  gv,
RenderSettings  rp,
float  lightCoeff = 1f,
float  bloomCoeff = 1f,
Vector3?  dofCoeff = null,
float  chromabCoeff = 0f 
)
static

◆ CombineMotionResource()

static void Yukar.Engine.MapData.CombineMotionResource ( SharpKmyGfx.ModelInstance  mmi,
Common.Resource.GfxResourceBase  rom 
)
static

モデルにモーションリソースを関連付ける(ついでに、0番目のモーションを再生する)

◆ convertValidName()

static string Yukar.Engine.MapData.convertValidName ( Map  inMap)
static

◆ Destroy()

void Yukar.Engine.MapData.Destroy ( )

◆ draw()

override void Yukar.Engine.MapData.draw ( SharpKmyGfx.Render  scn)

◆ getAdjustedHeight()

float Yukar.Engine.MapData.getAdjustedHeight ( float  x,
float  z 
)

◆ getAspect()

float Yukar.Engine.MapData.getAspect ( )

◆ getBgChip()

Common.Resource.MapChip Yukar.Engine.MapData.getBgChip ( )

◆ getCellIsRoof()

bool Yukar.Engine.MapData.getCellIsRoof ( int  x,
int  z 
)

◆ getCharacterHeight()

float Yukar.Engine.MapData.getCharacterHeight ( float  x,
float  z 
)

◆ getChipIndex()

int Yukar.Engine.MapData.getChipIndex ( Common.Resource.MapChip  parts,
bool  autoAdd = true 
)

◆ GetChipInfo()

ChipInfo Yukar.Engine.MapData.GetChipInfo ( int  index)

◆ getClusterByPosition()

MapClusterBuilder Yukar.Engine.MapData.getClusterByPosition ( float  x,
float  z 
)

◆ getCollisionHeight()

float Yukar.Engine.MapData.getCollisionHeight ( int  x,
int  z 
)

◆ GetDrawInfo()

SharpKmyGfx.DrawInfo Yukar.Engine.MapData.GetDrawInfo ( )

◆ getFurnitureHeight()

float Yukar.Engine.MapData.getFurnitureHeight ( int  x,
int  z,
int  height = -1 
)

◆ getHeightOnCantMove()

float Yukar.Engine.MapData.getHeightOnCantMove ( float  x,
float  z,
float  y 
)

移動不可の一つ上の高さを取得する(階段のオフセット値を含む)

引数
x検索する位置X
z検索する位置Z
y検索を開始する高さ(下に向かって検索していく)
戻り値
移動不可の一つ上の高さ

◆ getHeightOnCantMoveRev()

float Yukar.Engine.MapData.getHeightOnCantMoveRev ( float  x,
float  z,
float  y 
)

移動不可の一つ下の高さを取得する(階段のオフセット値を含む)

引数
x検索する位置X
z検索する位置Z
y検索を開始する高さ(上に向かって検索していく)
戻り値
移動不可の一つ下の高さ

◆ getMapObjectInstance() [1/2]

MapObjectInstance Yukar.Engine.MapData.getMapObjectInstance ( int  idx)

◆ getMapObjectInstance() [2/2]

MapObjectInstance[] Yukar.Engine.MapData.getMapObjectInstance ( Map.MapObjectRef  inRef)

◆ getMapObjectInstanceByPickupID()

MapObjectInstance Yukar.Engine.MapData.getMapObjectInstanceByPickupID ( ushort  id)

◆ getRidgeStairTexCoord()

SharpKmyMath.Vector2[] Yukar.Engine.MapData.getRidgeStairTexCoord ( int  index)

◆ getRom()

Map Yukar.Engine.MapData.getRom ( )

◆ getRoofAdjustedHeight()

float Yukar.Engine.MapData.getRoofAdjustedHeight ( float  dx,
float  dz,
float  dy 
)

◆ getSize()

SharpKmyMath.Vector2 Yukar.Engine.MapData.getSize ( )

◆ GetSkyDrawer()

SkyDrawer Yukar.Engine.MapData.GetSkyDrawer ( )

◆ getSlopeTexCoord()

SharpKmyMath.Vector2[] Yukar.Engine.MapData.getSlopeTexCoord ( int  index)

◆ getStairDir()

int Yukar.Engine.MapData.getStairDir ( int  x,
int  z 
)

◆ getStairDirAuto()

int Yukar.Engine.MapData.getStairDirAuto ( int  x,
int  z 
)

◆ getStairInfo()

Common.Resource.MapChip Yukar.Engine.MapData.getStairInfo ( int  index)

◆ getStairStat()

STAIR_STAT Yukar.Engine.MapData.getStairStat ( int  x,
int  z,
ref Common.Rom.Map.StairRef  sr 
)

◆ getStairTexCoord()

SharpKmyMath.Vector2[] Yukar.Engine.MapData.getStairTexCoord ( int  index,
int  mapHeightScale 
)

◆ getTerrainHeight()

float Yukar.Engine.MapData.getTerrainHeight ( int  x,
int  z 
)

◆ getTerrainInfo()

Common.Resource.MapChip Yukar.Engine.MapData.getTerrainInfo ( int  index)

◆ getTerrainLiquidArea()

bool Yukar.Engine.MapData.getTerrainLiquidArea ( int  index)

◆ getTerrainSquareShape()

bool Yukar.Engine.MapData.getTerrainSquareShape ( int  index)

◆ getTerrainTexCoordBottomRight() [1/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordBottomRight ( ChipInfo  obj,
int  position,
int  height,
bool  isStairs = false,
bool  isBottom = false 
)

◆ getTerrainTexCoordBottomRight() [2/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordBottomRight ( int  index,
int  position,
int  height,
bool  isStairs = false 
)

◆ getTerrainTexCoordCorner() [1/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordCorner ( ChipInfo  chipInfo,
Corner  corner,
int  position,
int  height,
bool  isStairs = false,
bool  isBottom = false 
)

◆ getTerrainTexCoordCorner() [2/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordCorner ( int  index,
Corner  corner,
int  position,
int  height,
bool  isStairs = false 
)

◆ getTerrainTexCoordTopLeft() [1/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordTopLeft ( ChipInfo  obj,
int  position,
int  height,
bool  isStairs = false,
bool  isBottom = false 
)

◆ getTerrainTexCoordTopLeft() [2/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordTopLeft ( int  index,
int  position,
int  height,
bool  isStairs = false 
)

◆ getTerrainWalkable()

bool Yukar.Engine.MapData.getTerrainWalkable ( int  index)

◆ getValleyStairTexCoord()

SharpKmyMath.Vector2[] Yukar.Engine.MapData.getValleyStairTexCoord ( int  index)

◆ getWaveTexCoordBottomRight()

SharpKmyMath.Vector2 Yukar.Engine.MapData.getWaveTexCoordBottomRight ( int  index)

◆ getWaveTexCoordTopLeft()

SharpKmyMath.Vector2 Yukar.Engine.MapData.getWaveTexCoordTopLeft ( int  index)

◆ isStair()

bool Yukar.Engine.MapData.isStair ( int  index)

◆ isValidName()

static bool Yukar.Engine.MapData.isValidName ( String  inName)
static

◆ isWalkable()

bool Yukar.Engine.MapData.isWalkable ( int  x,
int  z 
)

◆ pause()

void Yukar.Engine.MapData.pause ( )

サウンドの再開

◆ reloadAsset()

void Yukar.Engine.MapData.reloadAsset ( bool  isChangeSkyModel,
bool  isChangeEnvironmentEffect 
)

◆ removeEvent()

void Yukar.Engine.MapData.removeEvent ( Map.EventRef  ev,
Dictionary< Map, List< Map.Place > >  removedPlaces 
)

◆ removeEventWithoutPlaces()

void Yukar.Engine.MapData.removeEventWithoutPlaces ( Map.EventRef  ev)

◆ removeLocalLight()

void Yukar.Engine.MapData.removeLocalLight ( Common.Rom.Map.LocalLight  ll)

◆ removeMapObject()

void Yukar.Engine.MapData.removeMapObject ( Common.Rom.Map.MapObjectRef  m)

◆ removePlace()

void Yukar.Engine.MapData.removePlace ( Common.Rom.Map.Place  p)

◆ removeStair()

void Yukar.Engine.MapData.removeStair ( Common.Rom.Map.StairRef  sr)

◆ Reset()

void Yukar.Engine.MapData.Reset ( bool  terrainInit = true,
bool  useDirty = false 
)

◆ ResetMapObjects()

void Yukar.Engine.MapData.ResetMapObjects ( bool  useDirty)

◆ resume()

void Yukar.Engine.MapData.resume ( )

サウンドの再開

◆ setDisplayID()

void Yukar.Engine.MapData.setDisplayID ( uint  displayID)

◆ setDofCoeff()

void Yukar.Engine.MapData.setDofCoeff ( Vector3  dofCoeff)

◆ setEventRangeColor()

void Yukar.Engine.MapData.setEventRangeColor ( List< Map.EventRef events)

◆ setFogEnabled()

void Yukar.Engine.MapData.setFogEnabled ( bool @  checked)

◆ setGameViewRenderParams()

static void Yukar.Engine.MapData.setGameViewRenderParams ( SharpKmyGfx.GameView  gv,
RenderSettings  rs,
bool  ignoreBackground = false 
)
static

◆ setLightCoeff()

void Yukar.Engine.MapData.setLightCoeff ( float  bloom,
float  light,
float  chrom 
)

◆ setLookAtPos()

void Yukar.Engine.MapData.setLookAtPos ( SharpKmyMath.Vector3  p)

◆ setRenderSettings()

void Yukar.Engine.MapData.setRenderSettings ( RenderSettings  renderSettings,
bool  forceReload = false 
)

◆ setRom()

void Yukar.Engine.MapData.setRom ( Map  data,
bool  topViewOnly,
bool  isForcedUpdate,
uint  displayID,
bool  terrainInit,
bool  useDirty = false,
bool  delayedSmoothing = true 
)

◆ setRomImpl()

IEnumerator Yukar.Engine.MapData.setRomImpl ( Map  data,
bool  isChangeScene,
bool  topViewOnly,
bool  terrainInit,
bool  useDirty = false,
bool  delayedSmoothing = true 
)

◆ setRomWithoutGraphics()

void Yukar.Engine.MapData.setRomWithoutGraphics ( Map  data)

◆ setTerrain()

bool Yukar.Engine.MapData.setTerrain ( int  x,
int  z,
int  height,
int  attrib,
bool  geometryUpdate = true 
)

◆ setTerrainAttr()

bool Yukar.Engine.MapData.setTerrainAttr ( int  x,
int  z,
int  attr,
Common.Rom.Map.AttribDir  dir,
bool  geometryUpdate = true 
)

◆ setTerrainHeight()

void Yukar.Engine.MapData.setTerrainHeight ( int  x,
int  z,
int  height 
)

◆ setTerrainUVFlip()

bool Yukar.Engine.MapData.setTerrainUVFlip ( int  x,
int  z,
Common.Rom.Map.AttribDir  dir,
bool  flip 
)

◆ SetupMapObjects()

void Yukar.Engine.MapData.SetupMapObjects ( bool  useDirty)

◆ stairUpdate()

void Yukar.Engine.MapData.stairUpdate ( int  x,
int  y,
int  z,
int  scaleFactor 
)

◆ stopPickupExceptTerrain()

void Yukar.Engine.MapData.stopPickupExceptTerrain ( bool  flg)

◆ UnloadModel()

void Yukar.Engine.MapData.UnloadModel ( List< Guid >  inIdList)

◆ Update()

void Yukar.Engine.MapData.Update ( float  elapsed)

◆ updateBuildingLight()

void Yukar.Engine.MapData.updateBuildingLight ( )

◆ updateCollisionDepotInUnity()

void Yukar.Engine.MapData.updateCollisionDepotInUnity ( )

◆ updateFogParam()

void Yukar.Engine.MapData.updateFogParam ( SharpKmyMath.Matrix4  pm)

◆ updateMapHeightAndWalkableState()

void Yukar.Engine.MapData.updateMapHeightAndWalkableState ( bool  isEnableCalcBuildingObjectHeight = true)

◆ updateMapObjectPosture()

void Yukar.Engine.MapData.updateMapObjectPosture ( MapObjectInstance  p,
bool  billboardable,
float  billboardAngle 
)

メンバ詳解

◆ bloomCoeff

float Yukar.Engine.MapData.bloomCoeff = 1

◆ chromabCoeff

float Yukar.Engine.MapData.chromabCoeff = 0

◆ currentRom

Map Yukar.Engine.MapData.currentRom = null

◆ displayID

uint Yukar.Engine.MapData.displayID = GameMain.sDefaultDisplayID

◆ drawMapObject

PICKUP_DRAW_MAPOBJECT Yukar.Engine.MapData.drawMapObject = PICKUP_DRAW_MAPOBJECT.kALL

◆ isEditor

bool Yukar.Engine.MapData.isEditor = false

◆ isExpandViewRange

bool Yukar.Engine.MapData.isExpandViewRange = false

◆ lightCoeff

float Yukar.Engine.MapData.lightCoeff = 1

◆ MAX_HEIGHT

const int Yukar.Engine.MapData.MAX_HEIGHT = 100
static

◆ mDebugMessage

string Yukar.Engine.MapData.mDebugMessage

◆ mDebugMessageEnable

bool Yukar.Engine.MapData.mDebugMessageEnable = true

◆ mDebugMessageX

int Yukar.Engine.MapData.mDebugMessageX = 0

◆ mDebugMessageY

int Yukar.Engine.MapData.mDebugMessageY = 0

◆ MIN_HEIGHT

const int Yukar.Engine.MapData.MIN_HEIGHT = 0
static

◆ pickupscene

SharpKmyGfx.Render Yukar.Engine.MapData.pickupscene = null
static

◆ progressListener

Func<int, int, string, bool> Yukar.Engine.MapData.progressListener

◆ renderSettings

RenderSettings Yukar.Engine.MapData.renderSettings

◆ shadowUneditableArea

bool Yukar.Engine.MapData.shadowUneditableArea = false

◆ sky

SkyDrawer Yukar.Engine.MapData.sky = null

◆ terrain

Terrain Yukar.Engine.MapData.terrain = null

プロパティ詳解

◆ MapCollisionsDepotWithBit

MapCollisionsDepotWithBit Yukar.Engine.MapData.MapCollisionsDepotWithBit
get

マップの当たり判定の情報をビットに入れたもの

◆ MapObjects

List<MapObjectInstance> Yukar.Engine.MapData.MapObjects
get

◆ mapRom

Map Yukar.Engine.MapData.mapRom = null
get

◆ ShowPerformance

bool Yukar.Engine.MapData.ShowPerformance
getset

イベント詳解

◆ mapDrawCallBack

MapDrawCallBack Yukar.Engine.MapData.mapDrawCallBack

◆ mapInitialize

onMapInitialize Yukar.Engine.MapData.mapInitialize

◆ mapReset

onMapReset Yukar.Engine.MapData.mapReset