SKTransition.FadeWithDuration(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 that fades to black and then to the following scene, lasting the specified number of seconds
[Foundation.Export("fadeWithDuration:")]
public static SpriteKit.SKTransition FadeWithDuration (double sec);
static member FadeWithDuration : double -> SpriteKit.SKTransition
Parameters
- sec
- Double
Returns
- Attributes