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

地形リソースのインスタンスの基底クラス [詳解]

Yukar.Engine.ChipInfoBase の継承関係図
Yukar.Engine.ChipInfo Yukar.Engine.StairInfo

公開メンバ関数

 ChipInfoBase (Common.Resource.MapChip i, int idx, int unit)
 
 ChipInfoBase (Common.Resource.MapChip i, int idx, int unit, string filePath, string stairsFilePath)
 
void Release ()
 
void setUV (int width, int height, ref int xofs, ref int yofs, int unit)
 
void storeCore (int height, SharpKmyGfx.Texture col, SharpKmyGfx.Texture nrm, SharpKmyGfx.Texture msk, int unit, bool ignoreDelay=false)
 
bool animateOne (int unit)
 

公開変数類

int index
 
Common.Resource.MapChip info
 
List< SharpKmyMath.Vector2uvlist = new List<SharpKmyMath.Vector2>()
 
Color repColor = Color.White
 
int animIndex = 0
 
int vnum
 
int hnum
 
ChipInfoBase stairsChipInfo = null
 

静的公開変数類

const int MIPLEVEL = 4
 
const int MAXMARGIN = 32
 
static Action sChipStoreErrorHandler = null
 

詳解

地形リソースのインスタンスの基底クラス

構築子と解体子

◆ ChipInfoBase() [1/2]

Yukar.Engine.ChipInfoBase.ChipInfoBase ( Common.Resource.MapChip  i,
int  idx,
int  unit 
)

◆ ChipInfoBase() [2/2]

Yukar.Engine.ChipInfoBase.ChipInfoBase ( Common.Resource.MapChip  i,
int  idx,
int  unit,
string  filePath,
string  stairsFilePath 
)

メソッド詳解

◆ animateOne()

bool Yukar.Engine.ChipInfoBase.animateOne ( int  unit)

◆ Release()

void Yukar.Engine.ChipInfoBase.Release ( )

◆ setUV()

void Yukar.Engine.ChipInfoBase.setUV ( int  width,
int  height,
ref int  xofs,
ref int  yofs,
int  unit 
)

◆ storeCore()

void Yukar.Engine.ChipInfoBase.storeCore ( int  height,
SharpKmyGfx.Texture  col,
SharpKmyGfx.Texture  nrm,
SharpKmyGfx.Texture  msk,
int  unit,
bool  ignoreDelay = false 
)

メンバ詳解

◆ animIndex

int Yukar.Engine.ChipInfoBase.animIndex = 0

◆ hnum

int Yukar.Engine.ChipInfoBase.hnum

◆ index

int Yukar.Engine.ChipInfoBase.index

◆ info

Common.Resource.MapChip Yukar.Engine.ChipInfoBase.info

◆ MAXMARGIN

const int Yukar.Engine.ChipInfoBase.MAXMARGIN = 32
static

◆ MIPLEVEL

const int Yukar.Engine.ChipInfoBase.MIPLEVEL = 4
static

◆ repColor

Color Yukar.Engine.ChipInfoBase.repColor = Color.White

◆ sChipStoreErrorHandler

Action Yukar.Engine.ChipInfoBase.sChipStoreErrorHandler = null
static

◆ stairsChipInfo

ChipInfoBase Yukar.Engine.ChipInfoBase.stairsChipInfo = null

◆ uvlist

List<SharpKmyMath.Vector2> Yukar.Engine.ChipInfoBase.uvlist = new List<SharpKmyMath.Vector2>()

◆ vnum

int Yukar.Engine.ChipInfoBase.vnum