// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "MuR/Ptr.h" #include "MuT/NodeMesh.h" #include "MuT/NodeScalar.h" namespace mu { /** This node selects an output Mesh from a set of input Meshs based on a parameter. */ class MUTABLETOOLS_API NodeMeshSwitch : public NodeMesh { public: Ptr Parameter; TArray> Options; public: // Node Interface virtual const FNodeType* GetType() const override { return &StaticType; } static const FNodeType* GetStaticType() { return &StaticType; } protected: /** Forbidden. Manage with the Ptr<> template. */ ~NodeMeshSwitch() {} private: static FNodeType StaticType; }; }