ITextureAtlas.TryGetRegion(string, AtlasRegion) Method
Definition
Namespace: Brine2D.Rendering.TextureAtlas
Attempts to retrieve a region by name.
Parameters
name System.String
The region name \(typically the original filename without extension\).
region AtlasRegion
The found region, or null if not found.
Returns
System.Boolean
True if the region was found; otherwise, false.