cameraDistance(_:)
Switch levels based on distance from the camera.
Declaration
static func cameraDistance(_ thresholds: [Float]) -> LevelOfDetailComponent.SelectionStrategyDiscussion
Each threshold specifies the maximum camera distance for a level. The last threshold is typically .infinity to catch all remaining distances.