| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | <?xml version="1.0" encoding="UTF-8" ?> | 
					
						
							| 
									
										
										
										
											2020-01-26 16:01:49 +01:00
										 |  |  | <class name="Physics2DShapeQueryResult" inherits="Reference" version="3.2"> | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 	<brief_description> | 
					
						
							| 
									
										
										
										
											2019-12-09 15:16:28 +01:00
										 |  |  | 		Result of a 2D shape query in [Physics2DServer]. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 	</brief_description> | 
					
						
							|  |  |  | 	<description> | 
					
						
							| 
									
										
										
										
											2019-12-09 15:16:28 +01:00
										 |  |  | 		The result of a 2D shape query in [Physics2DServer]. See also [Physics2DShapeQueryParameters]. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 	</description> | 
					
						
							|  |  |  | 	<tutorials> | 
					
						
							|  |  |  | 	</tutorials> | 
					
						
							|  |  |  | 	<methods> | 
					
						
							|  |  |  | 		<method name="get_result_count" qualifiers="const"> | 
					
						
							|  |  |  | 			<return type="int"> | 
					
						
							|  |  |  | 			</return> | 
					
						
							|  |  |  | 			<description> | 
					
						
							| 
									
										
										
										
											2019-12-09 15:16:28 +01:00
										 |  |  | 				Returns the number of objects that intersected with the shape. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 			</description> | 
					
						
							|  |  |  | 		</method> | 
					
						
							|  |  |  | 		<method name="get_result_object" qualifiers="const"> | 
					
						
							|  |  |  | 			<return type="Object"> | 
					
						
							|  |  |  | 			</return> | 
					
						
							|  |  |  | 			<argument index="0" name="idx" type="int"> | 
					
						
							|  |  |  | 			</argument> | 
					
						
							|  |  |  | 			<description> | 
					
						
							| 
									
										
										
										
											2019-12-09 15:16:28 +01:00
										 |  |  | 				Returns the [Object] that intersected with the shape at index [code]idx[/code]. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 			</description> | 
					
						
							|  |  |  | 		</method> | 
					
						
							|  |  |  | 		<method name="get_result_object_id" qualifiers="const"> | 
					
						
							|  |  |  | 			<return type="int"> | 
					
						
							|  |  |  | 			</return> | 
					
						
							|  |  |  | 			<argument index="0" name="idx" type="int"> | 
					
						
							|  |  |  | 			</argument> | 
					
						
							|  |  |  | 			<description> | 
					
						
							| 
									
										
										
										
											2019-12-09 15:16:28 +01:00
										 |  |  | 				Returns the instance ID of the [Object] that intersected with the shape at index [code]idx[/code]. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 			</description> | 
					
						
							|  |  |  | 		</method> | 
					
						
							|  |  |  | 		<method name="get_result_object_shape" qualifiers="const"> | 
					
						
							|  |  |  | 			<return type="int"> | 
					
						
							|  |  |  | 			</return> | 
					
						
							|  |  |  | 			<argument index="0" name="idx" type="int"> | 
					
						
							|  |  |  | 			</argument> | 
					
						
							|  |  |  | 			<description> | 
					
						
							| 
									
										
										
										
											2019-12-09 15:16:28 +01:00
										 |  |  | 				Returns the child index of the object's [Shape] that intersected with the shape at index [code]idx[/code]. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 			</description> | 
					
						
							|  |  |  | 		</method> | 
					
						
							|  |  |  | 		<method name="get_result_rid" qualifiers="const"> | 
					
						
							|  |  |  | 			<return type="RID"> | 
					
						
							|  |  |  | 			</return> | 
					
						
							|  |  |  | 			<argument index="0" name="idx" type="int"> | 
					
						
							|  |  |  | 			</argument> | 
					
						
							|  |  |  | 			<description> | 
					
						
							| 
									
										
										
										
											2019-12-09 15:16:28 +01:00
										 |  |  | 				Returns the [RID] of the object that intersected with the shape at index [code]idx[/code]. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 			</description> | 
					
						
							|  |  |  | 		</method> | 
					
						
							|  |  |  | 	</methods> | 
					
						
							|  |  |  | 	<constants> | 
					
						
							|  |  |  | 	</constants> | 
					
						
							|  |  |  | </class> |