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