# SetMeshMemblockVertexPosition

## Description

Provides a quick way to modify the position of a vertex inside a mesh memblock. It uses the attribute data from the beginning of the memblock to work out the vertex offset and change the position values. Vertices start at index 0.

## Definition

SetMeshMemblockVertexPosition( memID, vertexIndex, x, y, z )

void agk::SetMeshMemblockVertexPosition( UINT memID, UINT vertexIndex, float x, float y, float z )

## Parameters

- memID - The ID of the memblock to modify
- vertexIndex - The index of the vertex to modify
- x - The new X position for this vertex
- y - The new Y position for this vertex
- z - The new Z position for this vertex