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