Lod

@Serializable
data class Lod(val minLodPixels: Int, val maxLodPixels: Int = -1, val minFadeExtent: Int = 0, val maxFadeExtent: Int = 0)

Lod is an abbreviation for Level of Detail. Lod describes the size of the projected region on the screen that is required in order for the region to be considered "active." Also specifies the size of the pixel ramp used for fading in (from transparent to opaque) and fading out (from opaque to transparent). See diagram below for a visual representation of these parameters.

Constructors

Link copied to clipboard
constructor(minLodPixels: Int, maxLodPixels: Int = -1, minFadeExtent: Int = 0, maxFadeExtent: Int = 0)

Properties

Link copied to clipboard
@XmlElement
val maxFadeExtent: Int

Distance over which the geometry fades, from fully transparent to fully opaque. This ramp value, expressed in screen pixels, is applied at the maximum end of the LOD (visibility) limits.

Link copied to clipboard
@Serializable(with = FlexibleIntSerializer::class)
@XmlElement
val maxLodPixels: Int

Measurement in screen pixels that represents the maximum limit of the visibility range for a given Region. A value of −1, the default, indicates "active to infinite size."

Link copied to clipboard
@XmlElement
val minFadeExtent: Int

Distance over which the geometry fades, from fully opaque to fully transparent. This ramp value, expressed in screen pixels, is applied at the minimum end of the LOD (visibility) limits.

Link copied to clipboard
@Serializable(with = FlexibleIntSerializer::class)
@XmlElement
val minLodPixels: Int

Defines a square in screen space, with sides of the specified value in pixels. For example, 128 defines a square of 128 x 128 pixels. The region's bounding box must be larger than this square (and smaller than the maxLodPixels square) in order for the Region to be active.