Function GeometrySingleton.isPointInPolygon

Returns true if point is inside polygon or if it's located exactly on polygon's boundary, otherwise returns false.

bool isPointInPolygon (
  const(Vector2) point,
  const(PoolArray!(godot.core.vector2.Vector2)) polygon
) nothrow @nogc;