Base class for terrain resource instances More...
Public Member Functions | |
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) |
Public Attributes | |
int | index |
Common.Resource.MapChip | info |
List< SharpKmyMath.Vector2 > | uvlist = new List<SharpKmyMath.Vector2>() |
Color | repColor = Color.White |
int | animIndex = 0 |
int | vnum |
int | hnum |
ChipInfoBase | stairsChipInfo = null |
Static Public Attributes | |
const int | MIPLEVEL = 4 |
const int | MAXMARGIN = 32 |
static Action | sChipStoreErrorHandler = null |
Base class for terrain resource instances
Yukar.Engine.ChipInfoBase.ChipInfoBase | ( | Common.Resource.MapChip | i, |
int | idx, | ||
int | unit | ||
) |
Yukar.Engine.ChipInfoBase.ChipInfoBase | ( | Common.Resource.MapChip | i, |
int | idx, | ||
int | unit, | ||
string | filePath, | ||
string | stairsFilePath | ||
) |
bool Yukar.Engine.ChipInfoBase.animateOne | ( | int | unit | ) |
void Yukar.Engine.ChipInfoBase.Release | ( | ) |
void Yukar.Engine.ChipInfoBase.setUV | ( | int | width, |
int | height, | ||
ref int | xofs, | ||
ref int | yofs, | ||
int | unit | ||
) |
void Yukar.Engine.ChipInfoBase.storeCore | ( | int | height, |
SharpKmyGfx.Texture | col, | ||
SharpKmyGfx.Texture | nrm, | ||
SharpKmyGfx.Texture | msk, | ||
int | unit, | ||
bool | ignoreDelay = false |
||
) |
int Yukar.Engine.ChipInfoBase.animIndex = 0 |
int Yukar.Engine.ChipInfoBase.hnum |
int Yukar.Engine.ChipInfoBase.index |
Common.Resource.MapChip Yukar.Engine.ChipInfoBase.info |
|
static |
|
static |
Color Yukar.Engine.ChipInfoBase.repColor = Color.White |
|
static |
ChipInfoBase Yukar.Engine.ChipInfoBase.stairsChipInfo = null |
List<SharpKmyMath.Vector2> Yukar.Engine.ChipInfoBase.uvlist = new List<SharpKmyMath.Vector2>() |
int Yukar.Engine.ChipInfoBase.vnum |