Capacity
Maximum amount of samples ProfilerRecorder can capture.
Read time 1 minuteLast updated 7 days ago
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.