b3dDeleteVertex

Removes vertex and all referencing triangles, reindexes remaining geometry. Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

mesh Int
surface Int
vertexIndex Int

Returns

Void

Quick Summary

Removes vertex and all referencing triangles, reindexes remaining geometry. Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns nothing.

Technical Exegesis...

Removes vertex and all referencing triangles, reindexes remaining geometry. Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns nothing. Validates mesh exists, type is ENTITY_MESH, surface-based, surface index valid, and mesh is locked. Three-step algorithm: (1) Iterate indices array backward, remove any triangle containing vertexIndex (erase 3 indices per triangle).

Example

Example.bam
; No example implemented yet