SKTransition.MoveInWithDirection(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 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
- direction
- SKTransitionDirection
- sec
- Double
Returns
- Attributes