Letterboxing
Class in Zigurous.UI
Declaration
public sealed class Letterboxing : MonoBehaviour
Description
Crops the screen to a specified aspect ratio by changing the camera's viewport. This is known as letterboxing and is useful for cutscenes.
Properties
camera | The camera being letterboxed (Read only). |
viewportHeight | The current height of the viewport (Read only). |
aspectRatio | The aspect ratio of the mattes. |
animationDuration | The amount of seconds it takes to animate the mattes. |