Skip to content

Commit fa4cf61

Browse files
author
Roberto De Ioris
authored
Update Collections_API.md
1 parent 45eee92 commit fa4cf61

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

docs/Collections_API.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The ICollectionManager class exposes methods to manage the assets collections:
55
```python
66
from unreal_engine import ICollectionManager
77

8-
print(ICollectionManager.get_collection())
8+
print(ICollectionManager.get_collections())
99
```
1010

1111
The api expects knowledge of a bunch of enums mapped as int:
@@ -37,4 +37,21 @@ enum Type
3737

3838
### get_collections()
3939

40-
returns the list of collections as a tuple with the form (name, ECollectionShareType)
40+
returns the list of collections as a python list of tuples with the form (name, ECollectionShareType)
41+
42+
### get_root_collections()
43+
44+
returns the list of root collections as a python list of tuples with the form (name, ECollectionShareType)
45+
46+
### get_child_collections(name, ECollectionShareType)
47+
48+
returns the list of child collections for a collection (given as name and type) as a python list of tuples with the form (name, ECollectionShareType)
49+
50+
### get_root_collection_names()
51+
52+
returns the names of root collections as a python list of strings
53+
54+
### get_collection_names()
55+
56+
returns the names of collections as a python list of strings
57+

0 commit comments

Comments
 (0)