.. default-domain:: c .. highlight:: c Laser ===== .. type:: krpc_LIDAR_Laser_t .. warning:: Deprecated. Use :func:`krpc_SpaceCenter_RaycastDistance` instead. A LiDAR. Obtained by calling :func:`krpc_LIDAR_Laser`. .. macro:: KRPC_CLASS_LIDAR_LASER The service and class ids of the class, for :func:`krpc_KRPC_Type_ClassTypeById`. .. function:: krpc_error_t krpc_LIDAR_Laser_Part(krpc_connection_t connection, krpc_SpaceCenter_Part_t * returnValue, krpc_LIDAR_Laser_t instance) Get the part containing this LiDAR. .. function:: krpc_error_t krpc_LIDAR_Laser_Cloud(krpc_connection_t connection, krpc_list_double_t * returnValue, krpc_LIDAR_Laser_t instance) Get the point cloud from the LiDAR. Returns an empty list on failure.