Contents

fade(withDuration:)

Creates a transition that first fades to black and then fades to the new scene.

Declaration

class func fade(withDuration sec: TimeInterval) -> SKTransition

Parameters

  • sec:

    The duration of the transition.

Mentioned in

Return Value

A new transition.

See Also

Creating Transitions