ドキュメント

Unity Engine

Unity Engine

Capacity

Maximum amount of samples ProfilerRecorder can capture.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: Unity.Profiling
  • Assembly: UnityEngine.CoreModule
public int Capacity { get; }

Remarks

Shows the maximum amount of samples the ProfilerRecorder can capture. You can use this to set a maximum array size when you copy collected sample data with ProfilerRecorder.CopyTo or ProfilerRecorder.GetSample methods.