Files
UnrealEngineUWP/Engine/Plugins/Runtime/Metasound/Source/MetasoundStandardNodes/Private/MetasoundRandomNode.cpp
helen yang 803e3e44b4 Use loc text for MetaSound node vertex names (Part 2)
- pass on MetaSound nodes to use METASOUND_PARAM() and related macros for information about node vertices that should be localized
- fix typos, loc key collisions, and update audio unit test call sites

#jira UE-144518
#jira UE-145530
#rb aaron.mcleran
#preflight 62335f6ce12e0da4a52e74ba
#robomerge FNNC

[CL 19423048 by helen yang in ue5-main branch]
2022-03-17 13:14:50 -04:00

30 lines
780 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MetasoundRandomNode.h"
#include "Internationalization/Text.h"
#include "MetasoundNodeRegistrationMacro.h"
#define LOCTEXT_NAMESPACE "MetasoundStandardNodes"
namespace Metasound
{
// Mac Clang require linkage for constexpr
template<typename ValueType>
constexpr int32 Metasound::TRandomNodeOperator<ValueType>::DefaultSeed;
using FRandomNodeInt32 = TRandomNode<int32>;
METASOUND_REGISTER_NODE(FRandomNodeInt32)
using FRandomNodeFloat = TRandomNode<float>;
METASOUND_REGISTER_NODE(FRandomNodeFloat)
using FRandomNodeBool = TRandomNode<bool>;
METASOUND_REGISTER_NODE(FRandomNodeBool)
using FRandomNodeTime = TRandomNode<FTime>;
METASOUND_REGISTER_NODE(FRandomNodeTime)
}
#undef LOCTEXT_NAMESPACE