Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

32 lines
988 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Dataflow/DataflowNode.h"
#include "GeometryCollection/ManagedArrayCollection.h"
#include "GetClothAssetNode.generated.h"
class UChaosClothAsset;
/**
* Get a cloth asset object into the graph.
*/
USTRUCT(Meta = (Experimental, DataflowOutfit))
struct FChaosGetClothAssetNode final : public FDataflowNode
{
GENERATED_USTRUCT_BODY()
DATAFLOW_NODE_DEFINE_INTERNAL(FChaosGetClothAssetNode, "GetClothAsset", "Outfit", "Get Cloth Asset")
public:
FChaosGetClothAssetNode(const UE::Dataflow::FNodeParameters& InParam, FGuid InGuid = FGuid::NewGuid());
private:
//~ Begin FDataflowNode interface
virtual void Evaluate(UE::Dataflow::FContext& Context, const FDataflowOutput* Out) const override;
//~ End FDataflowNode interface
/** The Cloth Asset to import into a collection. */
UPROPERTY(EditAnywhere, Category = "GetClothAsset", Meta = (DataflowOutput))
TObjectPtr<const UChaosClothAsset> ClothAsset;
};