2022-06-21 23:48:49 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#include "Dataflow/GeometryCollectionProcessingNodes.h"
|
|
|
|
|
|
|
|
|
|
#include "GeometryCollection/ManagedArrayCollection.h"
|
|
|
|
|
#include "GeometryCollection/GeometryCollection.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Dataflow
|
|
|
|
|
{
|
|
|
|
|
void GeometryCollectionProcessingNodes()
|
|
|
|
|
{
|
|
|
|
|
DATAFLOW_NODE_REGISTER_CREATION_FACTORY(FCloseGeometryOnCollectionDataflowNode);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FCloseGeometryOnCollectionDataflowNode::Evaluate(Dataflow::FContext& Context, const FDataflowOutput* Out) const
|
|
|
|
|
{
|
|
|
|
|
if (Out->IsA<DataType>(&Collection))
|
|
|
|
|
{
|
2022-06-22 14:22:33 -04:00
|
|
|
DataType InCollection = GetValue<DataType>(Context, &Collection);
|
2022-06-21 23:48:49 -04:00
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// @todo(dataflow) : Implemention that closes the geometry on the collection
|
|
|
|
|
//
|
|
|
|
|
|
2022-06-22 14:22:33 -04:00
|
|
|
SetValue<DataType>(Context, InCollection, &Collection);
|
2022-06-21 23:48:49 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|