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