Contents

reveal(with:duration:)

Creates a transition where the old scene moves out of the view, revealing the new scene underneath it.

Declaration

class func reveal(with direction: SKTransitionDirection, duration sec: TimeInterval) -> SKTransition

Parameters

  • direction:

    The direction of the reveal. Possible values are described in Sktransitiondirection.

  • sec:

    The duration of the transition.

Return Value

A new transition.

See Also

Creating Transitions