# CreateMemblockFromObjectMesh

## Description

documented above

## Definition

integer CreateMemblockFromObjectMesh( objID, meshIndex )

UINT agk::CreateMemblockFromObjectMesh( UINT objID, UINT meshIndex )

CreateMemblockFromObjectMesh( memID, objID, meshIndex )

void agk::CreateMemblockFromObjectMesh( UINT memID, UINT objID, UINT meshIndex )

## Parameters

- objID - The ID of the object containing the mesh to read
- meshIndex - The index of the mesh to copy into a memblock
- memID - The ID of the new memblock