ICollectionManager::SetCollectionColor

Sets the optional color for the specified collection

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

References

   
Module CollectionManager
Header /Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h
Include #include "ICollectionManager.h"
bool SetCollectionColor
(
    [FName](API\Runtime\Core\UObject\FName) CollectionName,
    [ECollectionShareType::Type](API\Developer\CollectionManager\ECollectionShareType\Type) ShareType,
    const [TOptional](API\Runtime\Core\IO\TOptional)< [FLinearColor](API\Runtime\Core\Math\FLinearColor) > & NewColor
)

Remarks

Sets the optional color for the specified collection true if the collection was found, and the color was set. If false, GetLastError will return a human readable string description of the error.

Parameters

Name Description
CollectionName The collection to set the color for
ShareType The way the collection is shared.
NewColor The optional color to set.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library