Edit

Share via


SKTransition.MoveInWithDirection(SKTransitionDirection, Double) Method

Definition

Creates a transition where the new scene overlays the old scene in the specified direction, over the specified number of seconds.

[Foundation.Export("moveInWithDirection:duration:")]
public static SpriteKit.SKTransition MoveInWithDirection (SpriteKit.SKTransitionDirection direction, double sec);
static member MoveInWithDirection : SpriteKit.SKTransitionDirection * double -> SpriteKit.SKTransition

Parameters

sec
Double

Returns

Attributes

Applies to