2021-02-18 22:08:57 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#include "MetasoundRandomNode.h"
|
|
|
|
|
|
|
|
|
|
#include "Internationalization/Text.h"
|
|
|
|
|
#include "MetasoundNodeRegistrationMacro.h"
|
|
|
|
|
|
2022-01-18 17:44:56 -05:00
|
|
|
#define LOCTEXT_NAMESPACE "MetasoundStandardNodes"
|
2021-02-18 22:08:57 -04:00
|
|
|
|
|
|
|
|
namespace Metasound
|
|
|
|
|
{
|
2021-03-11 22:21:03 -04:00
|
|
|
// Mac Clang require linkage for constexpr
|
|
|
|
|
template<typename ValueType>
|
|
|
|
|
constexpr int32 Metasound::TRandomNodeOperator<ValueType>::DefaultSeed;
|
|
|
|
|
|
2021-03-11 22:09:30 -04:00
|
|
|
using FRandomNodeInt32 = TRandomNode<int32>;
|
|
|
|
|
METASOUND_REGISTER_NODE(FRandomNodeInt32)
|
|
|
|
|
|
|
|
|
|
using FRandomNodeFloat = TRandomNode<float>;
|
|
|
|
|
METASOUND_REGISTER_NODE(FRandomNodeFloat)
|
|
|
|
|
|
|
|
|
|
using FRandomNodeBool = TRandomNode<bool>;
|
|
|
|
|
METASOUND_REGISTER_NODE(FRandomNodeBool)
|
2021-03-22 11:03:07 -04:00
|
|
|
|
|
|
|
|
using FRandomNodeTime = TRandomNode<FTime>;
|
|
|
|
|
METASOUND_REGISTER_NODE(FRandomNodeTime)
|
2021-02-18 22:08:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|