Version: 2021.3
言語: 日本語
public static int antiAliasing ;

説明

Choose the level of Multi-Sample Anti-aliasing (MSAA) that the GPU performs.

The value indicates the number of samples per pixel. Valid values are 0 (no MSAA), 2, 4, and 8. If the graphics API does not support the value you provide, it uses the next highest supported value.

MSAA is compatible only with Forward rendering. For more information on other types of anti-aliasing and compatibility, see Post processing.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { // Set AntiAliasing to use 2x Multisampling QualitySettings.antiAliasing = 2; } }

関連項目: Quality Settings.