기술 자료

Unity Engine

Unity Engine

Capacity

Maximum amount of samples ProfilerRecorder can capture.
읽는 시간 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.