[DOCS] Classref additions and consistency fixes
This commit is contained in:
parent
5961a6da03
commit
ec5cc708ce
7 changed files with 41 additions and 23 deletions
|
|
@ -22,7 +22,7 @@
|
|||
<argument index="2" name="shape_xform" type="Transform2D">
|
||||
</argument>
|
||||
<description>
|
||||
Return whether this shape is colliding with another.
|
||||
Returns [code]true[/code] if this shape is colliding with another.
|
||||
This method needs the transformation matrix for this shape ([code]local_xform[/code]), the shape to check collisions with ([code]with_shape[/code]), and the transformation matrix of that shape ([code]shape_xform[/code]).
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
<argument index="2" name="shape_xform" type="Transform2D">
|
||||
</argument>
|
||||
<description>
|
||||
Return a list of the points where this shape touches another. If there are no collisions, the list is empty.
|
||||
Returns a list of the points where this shape touches another. If there are no collisions the list is empty.
|
||||
This method needs the transformation matrix for this shape ([code]local_xform[/code]), the shape to check collisions with ([code]with_shape[/code]), and the transformation matrix of that shape ([code]shape_xform[/code]).
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
<argument index="4" name="shape_motion" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
Return a list of the points where this shape would touch another, if a given movement was applied. If there are no collisions, the list is empty.
|
||||
Returns a list of the points where this shape would touch another, if a given movement was applied. If there are no collisions the list is empty.
|
||||
This method needs the transformation matrix for this shape ([code]local_xform[/code]), the movement to test on this shape ([code]local_motion[/code]), the shape to check collisions with ([code]with_shape[/code]), the transformation matrix of that shape ([code]shape_xform[/code]), and the movement to test onto the other object ([code]shape_motion[/code]).
|
||||
</description>
|
||||
</method>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue