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=$DOCS_URL/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. If [code]true[/code], the query will detect a hit when starting inside shapes. In this case the collision normal will be [code]Vector2(0, 0)[/code]. Does not affect concave polygon shapes. The ending point of the ray being queried for, in global coordinates.