ICollectionManager::IsObjectInCollection

Check to see if the given object exists in the given collection

Unreal Engine C++ API Reference > Developer > CollectionManager > ICollectionManager > IsObjectInCollection

References

   
Module CollectionManager
Header /Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h
Include #include "ICollectionManager.h"
bool IsObjectInCollection
(
    const [FSoftObjectPath](API\Runtime\CoreUObject\UObject\FSoftObjectPath) & ObjectPath,
    [FName](API\Runtime\Core\UObject\FName) CollectionName,
    [ECollectionShareType::Type](API\Developer\CollectionManager\ECollectionShareType\Type) ShareType,
    [ECollectionRecursionFlags::Flags](API\Developer\CollectionManager\ECollectionRecursionFlags\Flags) RecursionMode
) const

Remarks

Check to see if the given object exists in the given collection true if the object is in the collection.

Parameters

Name Description
ObjectPath The object to test for its existence in the collection.
CollectionName The collection to test.
ShareType The way the collection is shared.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library