ArcBasicDocs

ClearSurface

Clears a surface.

ClearSurface ( surface[,clear_vertices][,clear_triangles] )

Parameters

surface
the surface's handle.
clear_vertices (optional)
1 removes the points.
clear_triangles (optional)
1 removes the triangles.

Description

Removes the points or triangles of a surface, or both, ready to build it again. Rebuilding a surface each frame suits shapes that change completely, such as a trail.

See also