Files
UnrealEngineUWP/Engine/Plugins/Mutable/Source/MutableTools/Public/MuT/NodeModifierMeshClipWithMesh.h
jordi rovira 5ba502d4c0 [mutable] Add option to select strategy of face clipping to various operations.
Default value should keep the current behaviour, but the current behaviour doesn't match past versions.
#jira UE-223903
#rnx
[REVIEW] [at]genis.sole
#rb genis.sole

[CL 36296524 by jordi rovira in 5.5 branch]
2024-09-16 03:38:54 -04:00

44 lines
782 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MuR/Ptr.h"
#include "MuR/RefCounted.h"
#include "MuR/Types.h"
#include "MuT/Node.h"
#include "MuT/NodeModifier.h"
#include "MuT/NodeMesh.h"
namespace mu
{
/** */
class MUTABLETOOLS_API NodeModifierMeshClipWithMesh : public NodeModifier
{
public:
/** */
Ptr<NodeMesh> ClipMesh;
/** */
EFaceCullStrategy FaceCullStrategy = EFaceCullStrategy::AllVerticesCulled;
public:
// Node interface
virtual const FNodeType* GetType() const override { return &StaticType; }
static const FNodeType* GetStaticType() { return &StaticType; }
protected:
//! Forbidden. Manage with the Ptr<> template.
inline ~NodeModifierMeshClipWithMesh() {}
private:
static FNodeType StaticType;
};
}