SKTransition.PushWithDirection(SKTransitionDirection, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- direction
- SKTransitionDirection
- sec
- Double
Returns
- Attributes