.. default-domain:: cs .. highlight:: csharp .. namespace:: KRPC.Client.Services.LIDAR LIDAR ===== .. warning:: Deprecated. The LIDAR service will be removed in a future release. Use :meth:`SpaceCenter.RaycastDistance ` instead. Provides functionality to interact with the `LiDAR`_ mod. .. toctree:: :includehidden: :maxdepth: 1 lidar/lidar lidar/laser LiDAR Replacement ----------------- A LiDAR casts a fan of rays from its part. :meth:`SpaceCenter.RaycastDistance ` casts one ray. This example casts 8 rays below the root part of the active vessel: .. literalinclude:: /scripts/api/lidar/RaycastExample.cs The function stream casts every ray in the same physics tick, as a LiDAR does. .. include:: /mods.inc