SKTransition.FadeWithDuration(Double) Method

Definition

Creates a transition that fades to black and then to the following scene, lasting the specified number of seconds

[Foundation.Export("fadeWithDuration:")]
public static SpriteKit.SKTransition FadeWithDuration (double sec);
static member FadeWithDuration : double -> SpriteKit.SKTransition

Parameters

sec
Double

Returns

Attributes

Applies to