docs.unity3d.com
    Show / Hide Table of Contents

    Enum PixelPerfectCamera.GridSnapping

    Determines how pixels are snapped to the grid.

    Namespace: UnityEngine.Experimental.Rendering.Universal
    Syntax
    public enum GridSnapping

    Fields

    Name Description Value
    None

    No snapping.

    PixelSnapping

    Prevent subpixel movement and make Sprites appear to move in pixel-by-pixel increments.

    UpscaleRenderTexture

    The scene is rendered to a temporary texture set as close as possible to the Reference Resolution, while maintaining the full screen aspect ratio. This temporary texture is then upscaled to fit the full screen.

    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