读书人

AndEngine 分析之9 -ITextureSource

发布时间: 2012-08-26 16:48:06 作者: rapoo

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用作让系统知道显示那部分。

读书人网 >移动开发

热点推荐