Editar

Compartilhar via


SKTransition.PushWithDirection(SKTransitionDirection, Double) Method

Definition

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

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

Parameters

sec
Double

Returns

Attributes

Applies to