Enum PixelPerfectCamera.CropFrame
An enumeration of the types of display cropping.
Namespace: UnityEngine.Experimental.Rendering.Universal
Syntax
public enum CropFrame
Fields
Name | Description | Value |
---|---|---|
Letterbox | Black borders added to the top and bottom of viewport to match Reference Resolution. |
|
None | No cropping. |
|
Pillarbox | Black borders added to the left and right of viewport to match Reference Resolution. |
|
StretchFill | Expands the viewport to fit the screen resolution while maintaining the viewport's aspect ratio. |
|
Windowbox | Black borders added to all sides of viewport to match Reference Resolution. |