RemoveVertex
Category: Objects
/ Vertices
Since engine version: 4.9.1.0 GWE
Description
Removes a single vertex from an object.
Syntax
int RemoveVertex
(int iX, object pObj);
Parameters
- iX:
Index of the vertex to be removed.
- pObj:
[opt]
Object of which you want to remove a vertex. Can be 0 in local calls.
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.
Example
while(RemoveVertex()) ;
Removes all vertices from the calling object.
Sven2, Mai 2003