C# Class Nez.CinematicLetterboxPostProcessor

Inheritance: PostProcessor
Mostra file Open project: prime31/Nez

Public Methods

Method Description
CinematicLetterboxPostProcessor ( int executionOrder ) : System
animateIn ( float letterboxSize, float duration = 2, EaseType easeType = EaseType.ExpoOut ) : IEnumerator

animates the letterbox in

animateOut ( float duration = 2, EaseType easeType = EaseType.ExpoIn ) : IEnumerator

animates the letterbox out

onAddedToScene ( ) : void

Method Details

CinematicLetterboxPostProcessor() public method

public CinematicLetterboxPostProcessor ( int executionOrder ) : System
executionOrder int
return System

animateIn() public method

animates the letterbox in
public animateIn ( float letterboxSize, float duration = 2, EaseType easeType = EaseType.ExpoOut ) : IEnumerator
letterboxSize float Letterbox size.
duration float Duration.
easeType EaseType Ease type.
return IEnumerator

animateOut() public method

animates the letterbox out
public animateOut ( float duration = 2, EaseType easeType = EaseType.ExpoIn ) : IEnumerator
duration float Duration.
easeType EaseType Ease type.
return IEnumerator

onAddedToScene() public method

public onAddedToScene ( ) : void
return void