Edit

Share via


SKAction.FadeOutWithDuration(Double) Method

Definition

Creates an action that changes the alpha channel of the Color property on the SKSpriteNode on which it is run to 0, over sec seconds.

[Foundation.Export("fadeOutWithDuration:")]
public static SpriteKit.SKAction FadeOutWithDuration (double sec);
static member FadeOutWithDuration : double -> SpriteKit.SKAction

Parameters

sec
Double

Returns

Attributes

Applies to