Enum PixelPerfectCamera.GridSnapping
Determines how pixels are snapped to the grid.
Namespace: UnityEngine.Experimental.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. |