Edit

Share via


SKAction.FadeInWithDuration(Double) Method

Definition

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

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

Parameters

sec
Double

Returns

Attributes

Applies to