首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

AndEngine 分析之9 -ITextureSource,TextureRegion

2012-08-26 
AndEngine 分析之九 -----ITextureSource,TextureRegionITextureSource:An implmentation of the ITexture

AndEngine 分析之九 -----ITextureSource,TextureRegion

ITextureSource:
An implmentation of the ITextureSource-interface like AssetTextureSource manages to load an image onto a specific position in the Texture.

?

一个实现了itexturesource-interface像assettexturesource设法负载一个图像到一个具体位置到Texture。


TextureRegion:
A TextureRegion defines a rectangle on the Texture. A TextureRegion is used by Sprites to let the system know what part of the big Texture the Sprite is showing.

?

一个textureregion定义了一个在Texture上的矩形。它被Sprites用作让系统知道显示那部分。

热点排行