int usd_setcollectionincludes(int stagehandle, string collectionpath, string includes)
This function sets the includes list on the collection.
A handle to the stage to write to. Currently the only valid value is
0, which means the current stage in a node. (This argument may be used in the future to allow writing to other stages.)
The path to the collection.
A list of object paths to set as an includes list on the collection.
The value of
stagehandle on success or
-1 on failure.
// Set the exludes list on the cube's collection. string collection_path = usd_makecollectionpath(0, "/geo/cube", "some_collection"); usd_setcollectionincludes(0, collection_path, array("/geo/sphere1", "/geo/sphere2"));