RawFrameDataView.GetSampleChildrenCountRecursive

Cambiar al Manual
public int GetSampleChildrenCountRecursive (int sampleIndex);

Parámetros

sampleIndexIndex of the Profiler sample.

Valor de retorno

int Returns amount of direct and indirect child samples.

Descripción

Gets amount of direct and indirect child samples for the specific sample.

Use to quickly advance to the next sibling sample.

using UnityEditor.Profiling;

public class Example { public static int SkipAllChildren(RawFrameDataView frameData, int sampleIndex) { return frameData.GetSampleChildrenCountRecursive(sampleIndex) + sampleIndex + 1; } }