Module |
|
Header |
/Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h |
Include |
#include "ICollectionManager.h" |
bool IsValidParentCollection
(
FName CollectionName,
ECollectionShareType::Type ShareType,
FName ParentCollectionName,
ECollectionShareType::Type ParentShareType
) const
Check to see if the given collection is valid to be used as the parent of another collection. A collection may not be parented to itself, nor any of its current children.
true if the parent is considered valid for this collection. If false, GetLastError will return a human readable string describing why the parent is invalid.
Parameter |
Description |
---|---|
CollectionName |
The name of the collection to check the parent of. |
ShareType |
The way the collection is shared. |
ParentCollectionName |
The name of the parent collection to test against. |
ParentShareType |
The way the new parent collection is shared. |