Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/Nodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeBaseNodeContainer
References
Module | InterchangeCore |
Header | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeBaseNodeContainer.h |
Include | #include "Nodes/InterchangeBaseNodeContainer.h" |
Syntax
class UInterchangeBaseNodeContainer : public UObject
Remarks
Interchange UInterchangeBaseNode graph is a format used to feed asset/scene import/reimport/export factories/writer. This container hold a flat list of all nodes that have been translated from the source data.
Translators are filling this container and the Import/Export managers are reading it to execute the import/export process
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FString | AddNode
(
UInterchangeBaseNode* Node |
Add a node in the container, the node will be add into a TMap. |
![]() ![]() |
bool | BreakableIterateNodeChildren
(
const FString& NodeUniqueID, |
Recursively traverse the hierarchy starting with the specified node unique ID. |
![]() ![]() |
void | BreakableIterateNodes
(
TFunctionRef< bool(const FString&, UInterchangeBaseNode*)> IterationLambda |
Unordered iteration of the all nodes, but I can be stop early by returning true |
![]() ![]() |
void | BreakableIterateNodesOfType
(
TFunctionRef< bool(const FString&, T*)> IterationLambda |
|
![]() |
void | Fill the children uids cache to optimize the GetNodeChildrenUids call. | |
![]() ![]() |
UInterchangeFactoryBaseNode * | GetFactoryNode
(
const FString& NodeUniqueID |
Get a factory node pointer |
![]() ![]() |
const UInterchangeBaseNode * | Get a node pointer. Once added to the container, nodes are considered const | |
![]() |
UInterchangeBaseNode * | GetNodeChildren
(
const FString& NodeUniqueID, |
Get the node nth const children |
![]() ![]() |
const UInterchangeBaseNode * | GetNodeChildren
(
const FString& NodeUniqueID, |
Get the node nth const children. Const version |
![]() ![]() |
int32 | GetNodeChildrenCount
(
const FString& NodeUniqueID |
Get the node children count |
![]() ![]() |
TArray< FString > | GetNodeChildrenUids
(
const FString& NodeUniqueID |
Get all children Uid |
![]() ![]() |
void | Return all nodes that are of the ClassNode type | |
![]() ![]() |
void | Return all nodes that do not have any parent | |
![]() ![]() |
bool | IsNodeUidValid
(
const FString& NodeUniqueID |
Return true if the node unique ID exist in the container |
![]() ![]() |
void | IterateNodeChildren
(
const FString& NodeUniqueID, |
Recursively traverse the hierarchy starting with the specified node unique ID. |
![]() ![]() |
void | IterateNodes
(
TFunctionRef< void(const FString&, UInterchangeBaseNode*)> IterationLambda |
Unordered iteration of the all nodes |
![]() ![]() |
void | IterateNodesOfType
(
TFunctionRef< void(const FString&, T*)> IterationLambda |
|
![]() |
void | LoadFromFile
(
const FString& Filename |
Serialize the node container from the specified file. |
![]() |
void | ReplaceNode
(
const FString& NodeUniqueID, |
|
![]() |
void | Reset the children uids cache. | |
![]() |
void | SaveToFile
(
const FString& Filename |
Serialize the node container into the specified file. |
![]() |
void | SerializeNodeContainerData
(
FArchive& Ar |
This function serialize the node container and all node sub-objects point by it. |
![]() |
bool | SetNodeParentUid
(
const FString& NodeUniqueID, |
Set node ParentUid |