Improve the Shape/Shape2D classes documentation
This commit is contained in:
parent
2ebc783e9c
commit
16d612dccc
8 changed files with 37 additions and 6 deletions
|
|
@ -1,8 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="Physics2DShapeQueryResult" inherits="Reference" category="Core" version="3.2">
|
||||
<brief_description>
|
||||
Result of a 2D shape query in [Physics2DServer].
|
||||
</brief_description>
|
||||
<description>
|
||||
The result of a 2D shape query in [Physics2DServer]. See also [Physics2DShapeQueryParameters].
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
|
@ -11,6 +13,7 @@
|
|||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the number of objects that intersected with the shape.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_result_object" qualifiers="const">
|
||||
|
|
@ -19,6 +22,7 @@
|
|||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the [Object] that intersected with the shape at index [code]idx[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_result_object_id" qualifiers="const">
|
||||
|
|
@ -27,6 +31,7 @@
|
|||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the instance ID of the [Object] that intersected with the shape at index [code]idx[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_result_object_shape" qualifiers="const">
|
||||
|
|
@ -35,6 +40,7 @@
|
|||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the child index of the object's [Shape] that intersected with the shape at index [code]idx[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_result_rid" qualifiers="const">
|
||||
|
|
@ -43,6 +49,7 @@
|
|||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the [RID] of the object that intersected with the shape at index [code]idx[/code].
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue