What it does
MeshMemblockVertexU reads from a Memblock object without changing it. It takes memID (an integer) and vertexIndex (an integer), and answers a float. memID is the id of a memblock, the one CreateMemblock returned: it is how the call knows what to act on.
Syntax
MeshMemblockVertexU(memID integer, vertexIndex integer) → floatParameters
| Name | Type |
|---|---|
| memID | integer |
| vertexIndex | integer |
Every form returns
float
Example · generated
memblock = CreateMemblock(64)DO Print(MeshMemblockVertexU(memblock, 1)) Sync()LOOPCreateMemblock is there to give the call something to act on; MeshMemblockVertexU is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.