You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb none #preflight 62b3596e767c9aaf349ffbc0 [CL 20778193 by Brice Criswell in ue5-main branch]
35 lines
759 B
C++
35 lines
759 B
C++
// 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))
|
|
{
|
|
DataType InCollection = GetValue<DataType>(Context, &Collection);
|
|
|
|
//
|
|
// @todo(dataflow) : Implemention that closes the geometry on the collection
|
|
//
|
|
|
|
SetValue<DataType>(Context, InCollection, &Collection);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|