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
matteTop | The top letterbox matte (Read only). |
matteBottom | The bottom letterbox matte (Read only). |
matteHeight | The current height of the letterbox mattes (Read only). |
color | The color of the mattes. |
material | The material of the mattes. |
aspectRatio | The aspect ratio of the mattes. |
animationDuration | The amount of seconds it takes to animate the mattes. |