SetMeshMemblockVertexNormal
Description
Provides a quick way to modify the normal 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 normal values. Vertices start at index 0.
Definition
SetMeshMemblockVertexNormal( memID, vertexIndex, x, y, z )
void agk::SetMeshMemblockVertexNormal( uint32_t memID, uint32_t 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 X component of the new normal for this vertex
- y - The Y component of the new normal for this vertex
- z - The Z component of the new normal for this vertex