Unity QualitySettings.antiAliasing 抗锯齿
QualitySettings.antiAliasing 抗锯齿
Description 描述
Set The AA Filtering option.
设置AA过滤选项。
The AntiAliazing filter can be set to either 0,2,4 or 8. This coresponds to the number of multisamples used per pixel.
抗锯齿过滤器可以设置为0,2,4或8。这对应于每个像素使用多重采样的数量
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Start() { QualitySettings.antiAliasing = 2; } }