PixelPerfectRendering
A collection of APIs that facilitate pixel perfect rendering of sprite-based renderers.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.CoreModule
public static class PixelPerfectRendering
Static Properties
Property | Description |
|---|---|
| pixelSnapSpacing | To achieve a pixel perfect render, Sprites must be displaced to discrete positions at render time. This value defines the minimum distance between these positions. This doesn’t affect the GameObject's transform position. |