public TextureAtlas CreateVoxelTextureAtlas() { var atlas = new TextureAtlas(); foreach (var tex in GetAssets <VoxelTexture>()) { atlas.AddTileTexture(tex); } atlas.CreateAtlasTexture(); VoxelTextureAtlas = atlas; return(atlas); }