Skip to content

Commit 6eab60a

Browse files
author
Roberto De Ioris
authored
Update Collections_API.md
1 parent fa4cf61 commit 6eab60a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/Collections_API.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ The ICollectionManager class exposes methods to manage the assets collections:
66
from unreal_engine import ICollectionManager
77

88
print(ICollectionManager.get_collections())
9+
# 1 means ECollectionShareType::CST_Local
10+
print(ICollectionManager.get_child_collections('FooBar', 1))
911
```
1012

13+
Collections can be 'static' (they contain references to assets) or 'dynamic' (they apply a search string to get a list of assets)
14+
1115
The api expects knowledge of a bunch of enums mapped as int:
1216

1317
`ECollectionShareType`
@@ -55,3 +59,10 @@ returns the names of root collections as a python list of strings
5559

5660
returns the names of collections as a python list of strings
5761

62+
### create_static_collection(name, ECollectionShareType)
63+
64+
create a new static collections given a name and a type
65+
66+
### create_dynamic_collection(name, ECollectionShareType)
67+
68+
create a new dynamic collections given a name and a type

0 commit comments

Comments
 (0)