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) -> SKTransitionParameters
- 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
Transitioning Between Two ScenesConfiguring Whether Animations Play During the TransitioncrossFade(withDuration:)doorsCloseHorizontal(withDuration:)doorsCloseVertical(withDuration:)doorsOpenHorizontal(withDuration:)doorsOpenVertical(withDuration:)doorway(withDuration:)fade(with:duration:)fade(withDuration:)flipHorizontal(withDuration:)flipVertical(withDuration:)moveIn(with:duration:)push(with:duration:)init(ciFilter:duration:)