ITextureAtlasCollection.GetRegion(string) Method
Definition
Namespace: Brine2D.Rendering.TextureAtlas
Gets a region by name. Throws if not found.
Parameters
name System.String
The region name.
Returns
AtlasRegion
The atlas region.
Exceptions
System.Collections.Generic.KeyNotFoundException
If the region doesn't exist in any atlas.