docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023