Method | Description | |
---|---|---|
AddRegion ( string name, |
||
AddRegion ( string name, |
||
CreatePatch ( string name ) : |
||
CreateSprite ( string name ) : Sprite | ||
CreateSprite ( string name, int index ) : Sprite | ||
CreateSprites ( ) : List |
||
CreateSprites ( string name ) : List |
||
Dispose ( ) : void | ||
FindRegion ( string name ) : AtlasRegion | ||
FindRegion ( string name, int index ) : AtlasRegion | ||
FindRegions ( string name ) : List |
||
TextureAtlas ( ) : System | ||
TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, TextureAtlasData data ) : System | ||
TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string packFile ) : System | ||
TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string packFile, bool flip ) : System | ||
TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string packFile, string imagesDir ) : System | ||
TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string packFile, string imagesDir, bool flip ) : System | ||
TextureAtlas ( GraphicsDevice graphicsDevice, TextureAtlasData data ) : System | ||
TextureAtlas ( GraphicsDevice graphicsDevice, string packFile ) : System | ||
TextureAtlas ( GraphicsDevice graphicsDevice, string packFile, bool flip ) : System | ||
TextureAtlas ( GraphicsDevice graphicsDevice, string packFile, string imagesDir ) : System | ||
TextureAtlas ( GraphicsDevice graphicsDevice, string packFile, string imagesDir, bool flip ) : System |
Method | Description | |
---|---|---|
IndexComparator ( TextureAtlasData region1, TextureAtlasData region2 ) : int | ||
Load ( Microsoft.Xna.Framework.Content.ContentManager contentManager, TextureAtlasData data ) : void | ||
Load ( GraphicsDevice graphicsDevice, TextureAtlasData data ) : void | ||
LoadRegions ( TextureAtlasData data, TextureContext>.Dictionary |
||
NewSprite ( AtlasRegion region ) : Sprite | ||
ReadTuple ( TextReader reader, List |
||
ReadValue ( TextReader reader ) : string |
public AddRegion ( string name, |
||
name | string | |
texture | ||
x | int | |
y | int | |
width | int | |
height | int | |
return | AtlasRegion |
public AddRegion ( string name, |
||
name | string | |
textureRegion | ||
return | AtlasRegion |
public CreatePatch ( string name ) : |
||
name | string | |
return |
public CreateSprite ( string name, int index ) : Sprite | ||
name | string | |
index | int | |
return | Sprite |
public FindRegion ( string name ) : AtlasRegion | ||
name | string | |
return | AtlasRegion |
public FindRegion ( string name, int index ) : AtlasRegion | ||
name | string | |
index | int | |
return | AtlasRegion |
public TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, TextureAtlasData data ) : System | ||
contentManager | Microsoft.Xna.Framework.Content.ContentManager | |
data | TextureAtlasData | |
return | System |
public TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string packFile ) : System | ||
contentManager | Microsoft.Xna.Framework.Content.ContentManager | |
packFile | string | |
return | System |
public TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string packFile, bool flip ) : System | ||
contentManager | Microsoft.Xna.Framework.Content.ContentManager | |
packFile | string | |
flip | bool | |
return | System |
public TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string packFile, string imagesDir ) : System | ||
contentManager | Microsoft.Xna.Framework.Content.ContentManager | |
packFile | string | |
imagesDir | string | |
return | System |
public TextureAtlas ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string packFile, string imagesDir, bool flip ) : System | ||
contentManager | Microsoft.Xna.Framework.Content.ContentManager | |
packFile | string | |
imagesDir | string | |
flip | bool | |
return | System |
public TextureAtlas ( GraphicsDevice graphicsDevice, TextureAtlasData data ) : System | ||
graphicsDevice | GraphicsDevice | |
data | TextureAtlasData | |
return | System |
public TextureAtlas ( GraphicsDevice graphicsDevice, string packFile ) : System | ||
graphicsDevice | GraphicsDevice | |
packFile | string | |
return | System |
public TextureAtlas ( GraphicsDevice graphicsDevice, string packFile, bool flip ) : System | ||
graphicsDevice | GraphicsDevice | |
packFile | string | |
flip | bool | |
return | System |
public TextureAtlas ( GraphicsDevice graphicsDevice, string packFile, string imagesDir ) : System | ||
graphicsDevice | GraphicsDevice | |
packFile | string | |
imagesDir | string | |
return | System |
public TextureAtlas ( GraphicsDevice graphicsDevice, string packFile, string imagesDir, bool flip ) : System | ||
graphicsDevice | GraphicsDevice | |
packFile | string | |
imagesDir | string | |
flip | bool | |
return | System |