Mil Std2525Level Of Detail Selector
The MilStd2525LevelOfDetailSelector determines which set of PlacemarkAttributes to use for a MilStd2525Placemark. A MilStd2525Placemark creates an instance of this class in its constructor, and calls Placemark.LevelOfDetailSelector.selectLevelOfDetail in its Placemark.doRender method.
The selection is remembered per rendering window: several windows may render the same placemark in the same choreographer pass with different camera distances and fill modes, and must not discard each other's selection.
Functions
Link copied to clipboard
Forces level of details regeneration
Link copied to clipboard
open override fun selectLevelOfDetail(rc: RenderContext, placemark: Placemark, cameraDistance: Double): Boolean
Gets the active attributes for the current distance to the camera and highlighted state.