Struct Physics2DShapeQueryResult
Result of a 2D shape query in Physics2DServer.
struct Physics2DShapeQueryResult
;
The result of a 2D shape query in Physics2DServer. See also Physics2DShapeQueryParameters.
Methods
| Name | Description |
|---|---|
getResultCount
|
Returns the number of objects that intersected with the shape. |
getResultObject
|
Returns the GodotObject that intersected with the shape at index idx.
|
getResultObjectId
|
Returns the instance ID of the GodotObject that intersected with the shape at index idx.
|
getResultObjectShape
|
Returns the child index of the object's Shape that intersected with the shape at index idx.
|
getResultRid
|
Returns the RID of the object that intersected with the shape at index idx.
|