Property | Type | Description | |
---|---|---|---|
regionNames | string[] | ||
subtextures | Nez.Textures.Subtexture[] |
Method | Description | |
---|---|---|
TextureAtlas ( string regionNames, |
||
TextureAtlas ( string regionNames, |
||
containsSubtexture ( string name ) : bool |
checks whether the subtexture is contained in this atlas.
|
|
getSpriteAnimation ( string animationName ) : |
returns a SpriteAnimation given an animationName where the animationName is the folder that contains the images
|
|
getSubtexture ( string name ) : |
gets the Subtexture for the passed in image name
|
|
this ( string name ) : |
public TextureAtlas ( string regionNames, |
||
regionNames | string | |
subtextures | ||
return | Nez.Textures |
public TextureAtlas ( string regionNames, |
||
regionNames | string | |
subtextures | ||
spriteAnimationDetails | Point>.Dictionary | |
animationFPS | int | |
return | Nez.Textures |
public containsSubtexture ( string name ) : bool | ||
name | string | the image name |
return | bool |
public getSpriteAnimation ( string animationName ) : |
||
animationName | string | Animation name. |
return |
public getSubtexture ( string name ) : |
||
name | string | Name. |
return |
public this ( string name ) : |
||
name | string | |
return |