CinematicBars

Class in Zigurous.UI

Declaration

public sealed class CinematicBars : MonoBehaviour

Description

Displays mattes on the top and bottom of the screen to crop the screen to a specified aspect ratio. This is also referred to as letterboxing and is useful for cutscenes.

Properties

matteTopThe top letterbox matte (Read only).
matteBottomThe bottom letterbox matte (Read only).
matteHeightThe current height of the letterbox mattes (Read only).
colorThe color of the mattes.
materialThe material of the mattes.
aspectRatioThe aspect ratio of the mattes.
animationDurationThe amount of seconds it takes to animate the mattes.