SetWaterVertexPosition: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Needs example) |
||
Line 16: | Line 16: | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if successful, ''false'' otherwise. | Returns ''true'' if successful, ''false'' otherwise. | ||
==Example== | |||
<syntaxhighlight lang="lua"> | |||
--TODO | |||
</syntaxhighlight> | |||
==See Also== | ==See Also== | ||
{{Water functions}} | {{Water functions}} | ||
[[Category:Needs Example]] |
Revision as of 08:11, 19 June 2009
Sets the world position of a corner point of a water area.
Syntax
bool setWaterVertexPosition ( water theWater, int vertexIndex, float x, float y, float z )
Required Arguments
- theWater: the water element of which to change a vertex.
- vertexIndex: the index of the vertex to move. Values range from 1 to 4 for water quads, and 1 to 3 for triangles.
- x: the X coordinate to set for the vertex.
- y: the Y coordinate to set for the vertex.
- z: the Z coordinate to set for the vertex.
Returns
Returns true if successful, false otherwise.
Example
--TODO