Line
A weapon with this special property fires a beam in a straight line that can pierce through multiple targets. The gunner attempts a single gunnery check and compares the result to the AC of all ships in a line originating from her starship and extending to the weapon’s range increment. Roll the weapon’s damage once and apply it to each target with an AC equal to or lower than the gunner’s result, starting with the closest. If any of that damage is negated due to a ship’s Damage Threshold, the beam is stopped and the attack doesn’t deal damage to targets farther away.
Source
Core Rulebook pg. 304