SKTransition.FadeWithColor Method

Definition

Overloads

FadeWithColor(UIColor, Double)

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

FadeWithColor(NSColor, Double)

FadeWithColor(UIColor, Double)

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

[Foundation.Export("fadeWithColor:duration:")]
public static SpriteKit.SKTransition FadeWithColor (UIKit.UIColor color, double sec);
static member FadeWithColor : UIKit.UIColor * double -> SpriteKit.SKTransition

Parameters

color
UIColor
sec
Double

Returns

Attributes

Applies to

FadeWithColor(NSColor, Double)

[Foundation.Export("fadeWithColor:duration:")]
public static SpriteKit.SKTransition FadeWithColor (AppKit.NSColor color, double sec);
static member FadeWithColor : AppKit.NSColor * double -> SpriteKit.SKTransition

Parameters

color
NSColor
sec
Double

Returns

Attributes

Applies to