Function GeometrySingleton.segmentIntersectsConvex

Given a convex hull defined though the Planes in the array planes, tests if the segment (from, to) intersects with that hull. If an intersection is found, returns a PoolVector3Array containing the point the intersection and the hull's normal. If no intersecion is found, an the returned array is empty.

PoolArray!(godot.core.vector3.Vector3) segmentIntersectsConvex (
  const(Vector3) from,
  const(Vector3) to,
  const(Array) planes
) nothrow @nogc;