41 lines
717 B
C++
41 lines
717 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "MuT/NodeMatrix.h"
|
|
|
|
#include "MuT/NodeRange.h"
|
|
#include "Math/Matrix.h"
|
|
|
|
#define UE_API MUTABLETOOLS_API
|
|
|
|
|
|
namespace UE::Mutable::Private
|
|
{
|
|
|
|
class NodeMatrixParameter : public NodeMatrix
|
|
{
|
|
public:
|
|
FMatrix44f DefaultValue;
|
|
FString Name;
|
|
FString Uid;
|
|
|
|
TArray<Ptr<NodeRange>> Ranges;
|
|
|
|
// Node interface
|
|
const FNodeType* GetType() const override { return &StaticType; }
|
|
static const FNodeType* GetStaticType() { return &StaticType; }
|
|
|
|
protected:
|
|
/** Forbidden. Manage with the Ptr<> template. */
|
|
virtual ~NodeMatrixParameter() override = default;
|
|
|
|
private:
|
|
|
|
static UE_API FNodeType StaticType;
|
|
};
|
|
|
|
}
|
|
|
|
#undef UE_API
|