Parameters to be sent to a 2D ray physics query. This class contains the ray position and other parameters to be used for [method PhysicsDirectSpaceState2D.intersect_ray]. If [code]true[/code], the query will take [Area2D]s into account. If [code]true[/code], the query will take [PhysicsBody2D]s into account. The physics layers the query will detect (as a bitmask). By default, all collision layers are detected. See [url=https://docs.godotengine.org/en/latest/tutorials/physics/physics_introduction.html#collision-layers-and-masks]Collision layers and masks[/url] in the documentation for more information. The list of objects or object [RID]s that will be excluded from collisions. The starting point of the ray being queried for, in global coordinates. The ending point of the ray being queried for, in global coordinates.