---
title: LevelOfDetailComponent.SelectionStrategy.ResolutionMetric
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric
---

# LevelOfDetailComponent.SelectionStrategy.ResolutionMetric

## Declaration

```swift
struct ResolutionMetric
```

## Topics

### Creating a resolution metric

- [init(switchingResolutions:boundingBox:)](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/init(switchingresolutions:boundingbox:).md)

### Configuring the metric

- [switchingResolutions](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/switchingresolutions.md)
- [LevelOfDetailComponent.SelectionStrategy.ResolutionMetric.DirectionalSwitchingResolutions](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions.md)
- [boundingBox](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/boundingbox.md)

## See Also

### Selecting by resolution metric

- [resolutionMetric(switchingResolutions:boundingBox:)](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric(switchingresolutions:boundingbox:).md)
