RawFrameDataView.GetSampleName

public string GetSampleName(int sampleIndex);

Parameters

sampleIndex Index of the Profiler sample.

Returns

string Returns sample name. Returns null if sample index is invalid.

Description

Gets the name of the specific sample.

Note: GetSampleName allocates string when called. Use GetSampleMarkerId to avaoid allocations for simple lookups.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答