# HierarchyFrameDataView.ViewModes

> The ViewModes enum defines data aggregation rules.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.Profiling](/engine/6000.6/script-reference/unityeditor/profiling.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
[Flags]
public enum HierarchyFrameDataView.ViewModes
```

## Fields

| Value                                                                                                                                                | Description                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| [Default](/engine/6000.6/script-reference/unityeditor/profiling/hierarchyframedataview/viewmodes/default.md)                                         | Sets the View mode to raw hierarchy which represents each sample by an individual item.                                                      |
| [HideEditorOnlySamples](/engine/6000.6/script-reference/unityeditor/profiling/hierarchyframedataview/viewmodes/hideeditoronlysamples.md)             | Skips sub-hierarchies that represent Editor-only code paths.                                                                                 |
| [InvertHierarchy](/engine/6000.6/script-reference/unityeditor/profiling/hierarchyframedataview/viewmodes/inverthierarchy.md)                         | Aggregates samples with the same name and displays them in an inverted hierarchy. The children of each item are the samples that contain it. |
| [MergeSamplesWithTheSameName](/engine/6000.6/script-reference/unityeditor/profiling/hierarchyframedataview/viewmodes/mergesampleswiththesamename.md) | Merges and aggregates samples with the same name into a single hierarchy item.                                                               |
