ITextureAtlasCollection.TryGetRegion(string, AtlasRegion) Method
Definition
Namespace: Brine2D.Rendering.TextureAtlas
Attempts to retrieve a region by name from any atlas in the collection.
Parameters
name System.String
The region name.
region AtlasRegion
The found region, or null if not found.
Returns
System.Boolean
True if the region was found; otherwise, false.