Files
2025-05-18 13:04:45 +08:00

19 lines
676 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "GetGuidesAttributesNodes.h"
#include "GroomCollectionFacades.h"
#include "Dataflow/DataflowObjectInterface.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(GetGuidesAttributesNodes)
void FGetGuidesKinematicWeightsDataflowNode::Evaluate(UE::Dataflow::FContext& Context, const FDataflowOutput* Out) const
{
if (Out->IsA<FCollectionAttributeKey>(&AttributeKey))
{
FCollectionAttributeKey KinematicWeightKey(
UE::Groom::FGroomGuidesFacade::VertexKinematicWeightsAttribute.ToString(), UE::Groom::FGroomGuidesFacade::VerticesGroup.ToString());
SetValue(Context, MoveTemp(KinematicWeightKey), &AttributeKey);
}
}