forked from Mirrors/openclonk
39 lines
1.3 KiB
XML
39 lines
1.3 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>RemoveVertex</title>
|
|
<category>Objects</category>
|
|
<subcat>Vertices</subcat>
|
|
<version>5.1 OC</version>
|
|
<syntax>
|
|
<rtype>bool</rtype>
|
|
<params>
|
|
<param>
|
|
<type>int</type>
|
|
<name>index</name>
|
|
<desc>Index of the vertex to be removed, ranges from 0 to <funclink>GetVertexNum</funclink>.</desc>
|
|
</param>
|
|
</params>
|
|
</syntax>
|
|
<desc>Removes a vertex from the calling object.</desc>
|
|
<remark>Notice: with any vertex updated caused by stretching or rotation of the object (e.g. building or growth) the vertices will be reset to their original defined position unless a special vertex mode is selected.</remark>
|
|
<examples>
|
|
<example>
|
|
<code><funclink>while</funclink>(RemoveVertex()) ;</code>
|
|
<text>Removes all vertices from the calling object.</text>
|
|
</example>
|
|
</examples>
|
|
<related>
|
|
<funclink>AddVertex</funclink>
|
|
<funclink>InsertVertex</funclink>
|
|
<funclink>GetVertex</funclink>
|
|
<funclink>SetVertex</funclink>
|
|
<funclink>GetVertexNum</funclink>
|
|
</related>
|
|
</func>
|
|
<author>Sven2</author><date>2003-05</date>
|
|
</funcs>
|