docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum PixelPerfectCamera.GridSnapping

    Determines how pixels are snapped to the grid.

    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.2D.Runtime.dll
    Syntax
    public enum PixelPerfectCamera.GridSnapping

    Fields

    Name Description
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)