Independent Software Solutions 

CONTENTS

  CSM COUNT


Functions

Synopsis

return CSM COUNT( csm component As Integer ) As Integer

Purpose

Returns the total number of components specified by the csm component parameter type..

Parameters

csm component

May be one of the following values:

    0 - Total number of groups found in the .CSM map file

    1 - Total number of VisGroups

    2 - Total number of Entities

    3 - Total number of meshes.  This refers to the actual number of Cartography Shop Meshes, not DarkBASIC Professional objects.

    4 - Total number of imported textures

    5 - Total number of allocated lightmap textures

    6 - Total number of pivot entities

    7 - Total number of loaded maps in memory 

    8 - Total number of DarkBASIC Professional objects that make up the current map

Return value

An integer value specifying the total number of requested components.

 

(C) Paul S. J. Millard 2006