File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,12 @@ The ICollectionManager class exposes methods to manage the assets collections:
66from unreal_engine import ICollectionManager
77
88print (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+
1115The 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
5660returns 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
You can’t perform that action at this time.
0 commit comments