Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/UInterchangeBaseNodeContainer
Description
Set a namespace to all node of the target class in this container. A valid node namespace is prefix to the unique ID in UInterchangeBaseNode::GetUniqueId(). After adding the namespace this function will find any string attribute in all the node that reference the node unique ID and replace the attribute value with the new unique id. The last step is to remap the node container with the new Ids.
@Param Namespace - Is the new namespace you want to set. Pass an empty string to remove an existing namespace. @Param TargetClass - Optional, this parameter represent the node class we want to apply the namespace on. If null all node will be tagged with the namespace
@Note - Changing all node namespace wont work since some node class use a combinaison of the unique ID in there attributes and we cannot change those attribute in a generic way.
| Name | SetNamespace |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeBaseNodeContainer.h |
| Include Path | #include "Nodes/InterchangeBaseNodeContainer.h" |
| Source | /Engine/Source/Runtime/Interchange/Core/Private/Nodes/InterchangeBaseNodeContainer.cpp |
UFUNCTION (BlueprintCallable, Category="Interchange | Node Container")
void SetNamespace
(
const FString & Namespace,
UClass * TargetClass
)