編輯

共用方式為


SKTransition.CrossFadeWithDuration(Double) Method

Definition

Creates a crossfade transition that lasts the specified number of seconds.

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

Parameters

sec
Double

Returns

Attributes

Applies to