SKTextureAtlas.PreloadTextureAtlasesAsync(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the named atlases and calls a completion handler after they are loaded.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<SpriteKit.SKTextureAtlasLoadResult> PreloadTextureAtlasesAsync (string[] atlasNames);
static member PreloadTextureAtlasesAsync : string[] -> System.Threading.Tasks.Task<SpriteKit.SKTextureAtlasLoadResult>
Parameters
- atlasNames
- String[]
Returns
A task that represents the asynchronous PreloadTextureAtlases operation. The value of the TResult parameter is of type Action<SpriteKit.SKTextureAtlasLoadResult>
.
- Attributes