|
|||
|
CONTENTS |
CSM PIVOT ID | ||
|
Synopsis return CSM PIVOT ID( entity index As Integer ) As Integer Purpose Returns the Pivot ID for the specified entity. This function can be used to obtain the pivot ID for use with the pivot functions. The idea here is that you scan through your entity list for a specific property identifier such as an entity 'Name' property. Once the entity ID has been identified, call this function to obtain the pivot ID. The pivot ID must be used with the pivot functions for moving, positioning and rotating any pivot based group of meshes. For further details on Pivots, see 'Pivot Entities'. Parameters entity index Specifies the entity you wish to obtain the pivot ID for, >=0 and <total-1. Use the CSM COUNT function to obtain the total number of entities in your CSM map file. Return value A pivot ID. This ID must be used with the pivot manipulation functions.
|
|
(C) Paul S. J. Millard 2006 |