Syntax
dbLockVertexDataForLimb(ObjectID, LimbID [, LockMode])
Description
This command will lock the vertexdata of a limb within an object, allowing it to be modified by the vertexdata commands. Use dbUnlockVertexData to release this lock and apply the changes you have made. If the Lock Mode flag is zero, the entire vertexdata is replaced in the vertex buffer, if the value is one the vertex buffer is merely refreshed which is considerably faster. A value of two will replace the vertexdata in the vertex buffer entirely, and it will also ensure the original data copy of the object is updated as well (useful when saving and bone animating the object).
See Also
dbCSGDifferenceOnVertexData, dbCSGIntersectionOnVertexData, dbCSGUnionOnVertexData, dbGetVertexDataIndexCount, dbGetVertexDataVertexCount, dbLockVertexDataForMesh