Contents

screenArea(_:)

Switch levels based on projected screen area (0.0 = invisible, 1.0 = fills screen).

Declaration

static func screenArea(_ thresholds: [Float]) -> LevelOfDetailComponent.SelectionStrategy

Discussion

Each threshold specifies the minimum screen area for a level, in descending order.

See Also

Creating a strategy