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

# LevelOfDetailComponent.SelectionStrategy.ResolutionMetric.DirectionalSwitchingResolutions

A struct containing the ideal switching resolutions for a single detail level in a LevelOfDetailComponent when viewed from a specific direction. Note that switching may not actually occur at these resolutions depending on device performance.

## Declaration

```swift
struct DirectionalSwitchingResolutions
```

## Topics

### Creating switching resolutions

- [init(positiveX:negativeX:positiveY:negativeY:positiveZ:negativeZ:)](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions/init(positivex:negativex:positivey:negativey:positivez:negativez:).md)

### Setting axis resolutions

- [positiveX](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions/positivex.md)
- [negativeX](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions/negativex.md)
- [positiveY](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions/positivey.md)
- [negativeY](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions/negativey.md)
- [positiveZ](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions/positivez.md)
- [negativeZ](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions/negativez.md)

### Initializers

- [init()](realitykit/levelofdetailcomponent/selectionstrategy/resolutionmetric/directionalswitchingresolutions/init().md)

## See Also

### Configuring the metric

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