ドキュメント

Unity Engine

Unity Engine

msaaSamples

Get the requested MSAA sample count of the screen buffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static int msaaSamples { get; }

Remarks

Gets the sample count last requested by Screen.SetMSAASamples. This value might be different from the actual sample count that Unity uses for the render target during this frame, since Unity does not update the number of samples immediately. Depending on when in the frame you access this property, it might return the sample count of the current frame or the next frame. If the graphics API does not support the value provided, it uses the next highest supported value.