openclonk/docs/sdk/script/fn/Find_InRect.xml

42 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
<func>
<title>Find_InRect</title>
<category>Objects</category>
<subcat>Search</subcat>
<version>5.1 OC</version>
<syntax>
<rtype>array</rtype>
<params>
<param>
<type>int</type>
<name>x</name>
<desc>X position of the top left corner of the search rectangle. Relative to the calling object's center in local calls.</desc>
</param>
<param>
<type>int</type>
<name>y</name>
<desc>Y position of the top left corner of the search rectangle. Relative to the calling object's center in local calls.</desc>
</param>
<param>
<type>int</type>
<name>width</name>
<desc>Width of the search rectangle</desc>
</param>
<param>
<type>int</type>
<name>height</name>
<desc>Height of the search rectangle</desc>
</param>
</params>
</syntax>
<desc>Search criterion: finds all objects within the specified rectangle.</desc>
<remark>For additional information on the use of this function see <funclink>FindObjects</funclink>.</remark>
<related><funclink>FindObjects</funclink></related>
</func>
<author>Clonkonaut</author><date>2006-07</date>
</funcs>