Independent Software Solutions 

CONTENTS

  CSM SURFACE COUNT


Functions

Synopsis

return CSM SURFACE COUNT( mesh index As Integer ) As Integer

Purpose

Returns the total number of surfaces allocated to the specified mesh index.  You can call this function to obtain the number of surface objects allocated to a mesh within your CSM map file.

Parameters

mesh index

The mesh index >=0 and <total to obtain the surface count.  Use the CSM COUNT function to obtain the maximum number of meshes available

Return value

An integer value specifying the total number of surfaces for the given mesh.

 

(C) Paul S. J. Millard 2006