summaryrefslogtreecommitdiff
path: root/doc/classes/PhysicsShapeQueryResult3D.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-30 18:22:57 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-03-30 18:23:02 +0200
commiteaaee63b629d6999fcc0c84e38886b964f6d051d (patch)
tree136e327aa916afe2255bcf5d718963f2b1a84a4b /doc/classes/PhysicsShapeQueryResult3D.xml
parent0168709978154a89f137b44f33647e5d28a46250 (diff)
doc: Update classref with node renames
A few extra renames for classes which were missed in last week's PRs.
Diffstat (limited to 'doc/classes/PhysicsShapeQueryResult3D.xml')
-rw-r--r--doc/classes/PhysicsShapeQueryResult3D.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/classes/PhysicsShapeQueryResult3D.xml b/doc/classes/PhysicsShapeQueryResult3D.xml
new file mode 100644
index 0000000000..4555c4e242
--- /dev/null
+++ b/doc/classes/PhysicsShapeQueryResult3D.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="PhysicsShapeQueryResult3D" inherits="Reference" version="4.0">
+ <brief_description>
+ Result of a 3D shape query in [PhysicsServer3D].
+ </brief_description>
+ <description>
+ The result of a 3D shape query in [PhysicsServer3D]. See also [PhysicsShapeQueryParameters3D].
+ </description>
+ <tutorials>
+ </tutorials>
+ <methods>
+ <method name="get_result_count" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ Returns the number of objects that intersected with the shape.
+ </description>
+ </method>
+ <method name="get_result_object" qualifiers="const">
+ <return type="Object">
+ </return>
+ <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">
+ <return type="int">
+ </return>
+ <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">
+ <return type="int">
+ </return>
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Returns the child index of the object's [Shape3D] that intersected with the shape at index [code]idx[/code].
+ </description>
+ </method>
+ <method name="get_result_rid" qualifiers="const">
+ <return type="RID">
+ </return>
+ <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>
+ <constants>
+ </constants>
+</class>