Physics2DShapeQueryResult¶
Result of a 2D shape query in Physics2DServer.
Description¶
The result of a 2D shape query in Physics2DServer. See also Physics2DShapeQueryParameters.
Methods¶
| int | get_result_count ( ) const |
| Object | get_result_object ( int idx ) const |
| int | get_result_object_id ( int idx ) const |
| int | get_result_object_shape ( int idx ) const |
| RID | get_result_rid ( int idx ) const |
Method Descriptions¶
- int get_result_count ( ) const
Returns the number of objects that intersected with the shape.
Returns the Object that intersected with the shape at index idx.
Returns the instance ID of the Object that intersected with the shape at index idx.
Returns the child index of the object’s Shape that intersected with the shape at index idx.
Returns the RID of the object that intersected with the shape at index idx.