You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/StartingPointInput/Code/Source/InputNode.h

38 lines
1.0 KiB
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <Source/InputNode.generated.h>
#include <ScriptCanvas/Core/Node.h>
#include <ScriptCanvas/Core/Graph.h>
#include <AzCore/RTTI/TypeInfo.h>
namespace StartingPointInput
{
//////////////////////////////////////////////////////////////////////////
/// Input handles raw input from any source and outputs Pressed, Held, and Released input events
/// This nodes id deprecated in favor of its nodeable counterpart.
class InputNode
: public ScriptCanvas::Node
{
public:
SCRIPTCANVAS_NODE(InputNode);
InputNode() = default;
~InputNode() override = default;
InputNode(const InputNode&) = default;
InputNode& operator=(const InputNode&) = default;
AZStd::string m_eventName;
float m_value;
};
}