Switch levels based on projected screen area (0.0 = invisible, 1.0 = fills screen).
Each threshold specifies the minimum screen area for a level, in descending order.
Switch levels based on distance from the camera.
Each threshold specifies the maximum camera distance for a level.
The last threshold is typically `.infinity` to catch all remaining distances.
Creates a resolution metric for a level of detail component to switch with.
- Parameters:
- switchingResolutions: An array of `ResolutionMetric.DirectionalSwitchingResolutions`. The `ResolutionMetric.DirectionalSwitchingResolutions` at index `i` corresponds to the LOD level `i + 1`.
- boundingBox: The bounding box of the entity used when calculating the switching resolutions .
- Returns: A configured resolution metric selection strategy.