Class containing data describing any Intersections between a Line and a Body.

Static methods

staticinlineget(line:Line, body:Body):Intersection

Variables

body:Null<Body>

Body.

read onlyclosest:Null<IntersectionData>

Gets the IntersectionData that has the closest hit distance from the beginning of the Line.

@:value([])finaldata:Array<IntersectionData> = []

Array containing Data from Each Intersection found between the Line and each Shape in the Body.

line:Null<Line>

Line.

@:value(false)read onlypooled:Bool = false

Methods