地形リソースに関するユーティリティクラス
[詳解]
|
static string | getNormalImageName (Common.Resource.MapChip mc, bool forStair=false) |
|
static string | getMaskImageName (Common.Resource.MapChip mc, bool forStair=false) |
|
static uint[] | getImage (string path, out int width, out int height) |
|
static uint[] | scaledChip (uint[] src, int stride, int origin, int dstUnit, int srcUnit) |
|
static uint[] | scaledChipZoom (uint[] src, int stride, int origin, int dstUnit, int srcUnit) |
|
static uint[] | rescale (uint[] src, int width, int height, int dstUnit, int srcUnit) |
|
◆ getImage()
static uint[] Yukar.Engine.ChipUtil.getImage |
( |
string |
path, |
|
|
out int |
width, |
|
|
out int |
height |
|
) |
| |
|
static |
◆ getMaskImageName()
static string Yukar.Engine.ChipUtil.getMaskImageName |
( |
Common.Resource.MapChip |
mc, |
|
|
bool |
forStair = false |
|
) |
| |
|
static |
◆ getNormalImageName()
static string Yukar.Engine.ChipUtil.getNormalImageName |
( |
Common.Resource.MapChip |
mc, |
|
|
bool |
forStair = false |
|
) |
| |
|
static |
◆ rescale()
static uint[] Yukar.Engine.ChipUtil.rescale |
( |
uint[] |
src, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
dstUnit, |
|
|
int |
srcUnit |
|
) |
| |
|
static |
◆ scaledChip()
static uint[] Yukar.Engine.ChipUtil.scaledChip |
( |
uint[] |
src, |
|
|
int |
stride, |
|
|
int |
origin, |
|
|
int |
dstUnit, |
|
|
int |
srcUnit |
|
) |
| |
|
static |
◆ scaledChipZoom()
static uint[] Yukar.Engine.ChipUtil.scaledChipZoom |
( |
uint[] |
src, |
|
|
int |
stride, |
|
|
int |
origin, |
|
|
int |
dstUnit, |
|
|
int |
srcUnit |
|
) |
| |
|
static |