Description
|
Deprecated. Collections should be dynamically be created via sim.createCollection and sim.addItemToCollection.
|
C/C++ synopsis
|
int simGetCollectionHandle(const char* collectionName)
|
C/C++ parameters |
collectionName: name of the collection. If the name is appended by a "@silentError" suffix, then no error will be output if the collection does not exist.
|
C/C++ return value
|
Handle of the collection, or -1 in case of an error
|
Lua synopsis
|
int collectionHandle=sim.getCollectionHandle(string collectionName)
|
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
Similar to the C-function counterpart
|