LineOfSight

sealed class LineOfSight : Analysis

This base class contains common functionality for all LineOfSight analysis objects. The LineOfSight analysis result is a line rendered between the observer and target with distinct colors representing visible and obstructed segments.

When at least one of the two ends (the observer and the target) of the line is placed outside the view, the colors of the visible part of the line may not accurately represent the hidden part. In such cases, the line is rendered gray. To display the color, move both the observer and the target into the view.

Since

200.1.0

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The target visibility state. Use LineOfSight.targetVisibilityChanged to handle changes in target visibility.

Inherited properties

Link copied to clipboard

Whether or not an Analysis is visible. Visibility can be controlled for individual Analyses as well as for the AnalysisOverlay that contains them. Will return false if an error occurs.