Share via


SKTextureAtlas.PreloadTextureAtlasesAsync(String[]) Method

Definition

Loads the named atlases and calls a completion handler after they are loaded.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<SpriteKit.SKTextureAtlasLoadResult> PreloadTextureAtlasesAsync(string[] atlasNames);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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

Applies to