Initial commit

This commit is contained in:
alexpete
2021-03-05 11:26:34 -08:00
commit a10351f38d
27091 changed files with 5521199 additions and 0 deletions
@@ -0,0 +1,30 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#pragma once
#include <ScriptCanvas/Libraries/Libraries.h>
namespace ScriptCanvas
{
namespace Libraries
{
struct Debug : public Library::LibraryDefinition
{
AZ_RTTI(Debug, "{3E28E41D-F4C9-4542-A08F-2B1F5DAA9509}", Library::LibraryDefinition);
static void Reflect(AZ::ReflectContext*);
static void InitNodeRegistry(NodeRegistry& nodeRegistry);
static AZStd::vector<AZ::ComponentDescriptor*> GetComponentDescriptors();
};
}
}
@@ -0,0 +1,57 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#include "precompiled.h"
#include "DebugLibraryDefinition.h"
#include "Log.h"
#include "DrawText.h"
#include <ScriptCanvas/Libraries/Libraries.h>
namespace ScriptCanvas
{
namespace Libraries
{
void Debug::Reflect(AZ::ReflectContext* reflection)
{
AZ::SerializeContext* serializeContext = azrtti_cast<AZ::SerializeContext*>(reflection);
if (serializeContext)
{
serializeContext->Class<Debug, Library::LibraryDefinition>()
->Version(1)
;
AZ::EditContext* editContext = serializeContext->GetEditContext();
if (editContext)
{
editContext->Class<Debug>("Debug", "")->
ClassElement(AZ::Edit::ClassElements::EditorData, "")->
Attribute(AZ::Edit::Attributes::Icon, "Editor/Icons/ScriptCanvas/Debug.png")
;
}
}
}
void Debug::InitNodeRegistry(NodeRegistry& nodeRegistry)
{
Library::AddNodeToRegistry<Debug, Nodes::Debug::DrawTextNode>(nodeRegistry);
Library::AddNodeToRegistry<Debug, Nodes::Debug::Log>(nodeRegistry);
}
AZStd::vector<AZ::ComponentDescriptor*> Debug::GetComponentDescriptors()
{
return AZStd::vector<AZ::ComponentDescriptor*>({
Nodes::Debug::DrawTextNode::CreateDescriptor(),
Nodes::Debug::Log::CreateDescriptor(),
});
}
}
}
@@ -0,0 +1,30 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#pragma once
#include <ScriptCanvas/Libraries/Libraries.h>
namespace ScriptCanvas
{
namespace Libraries
{
struct Debug : public Library::LibraryDefinition
{
AZ_RTTI(Debug, "{3E28E41D-F4C9-4542-A08F-2B1F5DAA9509}", Library::LibraryDefinition);
static void Reflect(AZ::ReflectContext*);
static void InitNodeRegistry(NodeRegistry& nodeRegistry);
static AZStd::vector<AZ::ComponentDescriptor*> GetComponentDescriptors();
};
}
}
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<ScriptCanvas Include="Source/DrawText.h" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Class Name="DrawTextNode"
QualifiedName="ScriptCanvas::Nodes::Debug::DrawTextNode"
PreferredClassName="Draw Text"
Uuid="{AA209CEC-3813-4DC2-85A9-DE8B7A905CD6}"
Base="ScriptCanvas::Node"
Icon="Editor/Icons/ScriptCanvas/DrawText.png"
Category="Utilities/Debug"
Version="1"
GeneratePropertyFriend="True"
Description="Displays text on the viewport.">
<In Name="Show" Description="Shows the debug text on the viewport"/>
<In Name="Hide" Description="Removed the debug text from the viewport"/>
<Out Name="Out" Description=""/>
<Property Name="Text"
Description="The text to display on screen."
Type="AZStd::string"
IsInput="True"
IsOutput="False" />
<Property Name="Position"
Description="Position of the text on-screen in normalized coordinates [0-1]."
Type="AZ::Vector2"
IsInput="True"
IsOutput="False" />
<Property Name="Color"
Description="Color of the text."
Type="AZ::Color"
IsInput="True"
IsOutput="False" />
<Property Name="Duration"
Description="If greater than zero, the text will disappear after this duration (in seconds)."
Type="float"
IsInput="True"
IsOutput="False" />
<Property Name="Scale"
Description="Scales the font size of the text."
Type="float"
IsInput="True"
IsOutput="False" />
<Property Name="Centered"
Description="Centers the text around the specfied coordinates."
Type="bool"
IsInput="True"
IsOutput="False" />
<Property Name="Editor Only"
Description="Only displays this text if the game is being run in-editor, not on launchers."
Type="bool"
IsInput="True"
IsOutput="False" />
</Class>
</ScriptCanvas>
@@ -0,0 +1,135 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#include "precompiled.h"
#include "DrawText.h"
#include <AzFramework/Entity/EntityDebugDisplayBus.h>
#include <ScriptCanvas/Core/GraphBus.h>
#include <CryCommon/platform.h>
#include <CryCommon/Cry_Math.h>
#include <CryCommon/Cry_Color.h>
#include <CryCommon/IRenderer.h>
namespace ScriptCanvas
{
namespace Nodes
{
namespace Debug
{
void DrawTextNode::OnInputSignal(const SlotId& slotId)
{
if (slotId == GetSlotId("Show"))
{
ScriptCanvasDiagnostics::DebugDrawBus::Handler::BusConnect(GetEntityId());
m_duration = DrawTextNodeProperty::GetDuration(this);
if (m_duration > 0.f && !AZ::TickBus::Handler::BusIsConnected())
{
AZ::TickBus::Handler::BusConnect();
}
}
else if (slotId == GetSlotId("Hide"))
{
AZ::TickBus::Handler::BusDisconnect();
ScriptCanvasDiagnostics::DebugDrawBus::Handler::BusDisconnect();
}
SignalOutput(GetSlotId("Out"));
}
void DrawTextNode::OnInputChanged(const Datum&, const SlotId& slotId)
{
ScriptCanvas::SlotId textSlotId = DrawTextNodeProperty::GetTextSlotId(this);
if (slotId == textSlotId)
{
m_text = DrawTextNodeProperty::GetText(this);
}
}
void DrawTextNode::OnTick(float deltaTime, AZ::ScriptTimePoint)
{
m_duration -= deltaTime;
if (m_duration <= 0.f)
{
ScriptCanvasDiagnostics::DebugDrawBus::Handler::BusDisconnect();
AZ::TickBus::Handler::BusDisconnect();
}
}
void DrawTextNode::OnDebugDraw(IRenderer* renderer)
{
if (!renderer)
{
return;
}
if (m_text.empty())
{
m_text = DrawTextNodeProperty::GetText(this);
}
if (m_text.empty())
{
return;
}
bool editorOnly = DrawTextNodeProperty::GetEditorOnly(this);
bool isEditor = false;
ScriptCanvasDiagnostics::SystemRequestBus::BroadcastResult(isEditor, &ScriptCanvasDiagnostics::SystemRequests::IsEditor);
if (editorOnly && !isEditor)
{
return;
}
AZ::Vector2 position = DrawTextNodeProperty::GetPosition(this);
// Get correct coordinates
float x = position.GetX();
float y = position.GetY();
if (x < 1.f || y < 1.f)
{
int screenX, screenY, screenWidth, screenHeight;
renderer->GetViewport(&screenX, &screenY, &screenWidth, &screenHeight);
if (x < 1.f)
{
x *= (float)screenWidth;
}
if (y < 1.f)
{
y *= (float)screenHeight;
}
}
SDrawTextInfo ti;
ti.xscale = ti.yscale = DrawTextNodeProperty::GetScale(this);
ti.flags = eDrawText_2D | eDrawText_FixedSize;
const AZ::Color& color = DrawTextNodeProperty::GetColor(this);
ti.color[0] = color.GetR();
ti.color[1] = color.GetG();
ti.color[2] = color.GetB();
ti.color[3] = color.GetA();
ti.flags |= DrawTextNodeProperty::GetCentered(this) ? eDrawText_Center | eDrawText_CenterV : 0;
renderer->DrawTextQueued(Vec3(x, y, 0.5f), ti, m_text.c_str());
}
}
}
}
@@ -0,0 +1,116 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#pragma once
#include <AzCore/Component/TickBus.h>
#include <ScriptCanvas/CodeGen/CodeGen.h>
#include <ScriptCanvas/Core/Node.h>
#include <Source/DrawText.generated.h>
#include <AzCore/Math/Vector2.h>
#include <AzCore/Math/Color.h>
#include <ScriptCanvasDiagnosticLibrary/DebugDrawBus.h>
struct IRenderer;
namespace AZ
{
class Color;
class Vector2;
}
namespace ScriptCanvas
{
namespace Nodes
{
namespace Debug
{
class DrawTextNode
: public Node
, ScriptCanvasDiagnostics::DebugDrawBus::Handler
, AZ::TickBus::Handler
{
public:
ScriptCanvas_Node(DrawTextNode,
ScriptCanvas_Node::Name("Draw Text", "Displays text on the viewport.")
ScriptCanvas_Node::Uuid("{AA209CEC-3813-4DC2-85A9-DE8B7A905CD6}")
ScriptCanvas_Node::Icon("Editor/Icons/ScriptCanvas/DrawText.png")
ScriptCanvas_Node::Category("Utilities/Debug")
ScriptCanvas_Node::Version(1));
// DebugDrawBus
void OnDebugDraw(IRenderer*) override;
//
// Inputs
ScriptCanvas_In(ScriptCanvas_In::Name("Show", "Shows the debug text on the viewport"));
ScriptCanvas_In(ScriptCanvas_In::Name("Hide", "Removed the debug text from the viewport"));
// Outputs
ScriptCanvas_Out(ScriptCanvas_Out::Name("Out", ""));
// Properties
ScriptCanvas_Property(AZStd::string,
ScriptCanvas_Property::Name("Text", "The text to display on screen.")
ScriptCanvas_Property::Input
);
ScriptCanvas_PropertyWithDefaults(AZ::Vector2, AZ::Vector2(20.f, 20.f),
ScriptCanvas_Property::Name("Position", "Position of the text on-screen in normalized coordinates [0-1].")
ScriptCanvas_Property::Input
);
ScriptCanvas_PropertyWithDefaults(AZ::Color, AZ::Color(1.f, 1.f, 1.f, 1.f),
ScriptCanvas_Property::Name("Color", "Color of the text.")
ScriptCanvas_Property::Input
);
ScriptCanvas_PropertyWithDefaults(float, 0.f,
ScriptCanvas_Property::Name("Duration", "If greater than zero, the text will disappear after this duration (in seconds).")
ScriptCanvas_Property::Input
);
ScriptCanvas_PropertyWithDefaults(float, 1.f,
ScriptCanvas_Property::Name("Scale", "Scales the font size of the text.")
ScriptCanvas_Property::Input
);
ScriptCanvas_PropertyWithDefaults(bool, false,
ScriptCanvas_Property::Name("Centered", "Centers the text around the specfied coordinates.")
ScriptCanvas_Property::Input
);
ScriptCanvas_PropertyWithDefaults(bool, false,
ScriptCanvas_Property::Name("Editor Only", "Only displays this text if the game is being run in-editor, not on launchers.")
ScriptCanvas_Property::Input
);
protected:
void OnInputSignal(const SlotId& slotId) override;
void OnInputChanged(const Datum& input, const SlotId& slotID) override;
void OnTick(float deltaTime, AZ::ScriptTimePoint) override;
private:
AZStd::string m_text;
float m_duration;
};
}
}
}
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<ScriptCanvas Include="Source/Log.h" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Class Name="Log"
QualifiedName="ScriptCanvas::Nodes::Debug::Log"
PreferredClassName="Log"
Uuid="{6E100241-A738-4A8B-83C2-0FD0F5A44FDB}"
Base="ScriptCanvas::Node"
Icon="Editor/Icons/ScriptCanvas/Log.png"
Category="Utilities/Debug"
Version="0"
EditAttributes="AZ::Script::Attributes::ExcludeFrom@AZ::Script::Attributes::ExcludeFlags::All"
GeneratePropertyFriend="True"
Description="Logs the provided text in the debug console.">
<In Name="In" Description="Input signal"/>
<Out Name="Out" Description=""/>
<Property Name="Value"
Description="The value to log"
Type="AZStd::string"
IsInput="True"
IsOutput="False" />
</Class>
</ScriptCanvas>
@@ -0,0 +1,46 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#include "precompiled.h"
#include "Log.h"
namespace ScriptCanvas
{
namespace Nodes
{
namespace Debug
{
void Log::OnInputSignal([[maybe_unused]] const SlotId& slotId)
{
auto valueDatum = FindDatum(GetSlotId("Value"));
if (!valueDatum)
{
return;
}
AZStd::string text;
if (!valueDatum->Empty())
{
valueDatum->ToString(text);
}
if (!text.empty())
{
AZ_TracePrintf("Script Canvas", "%s\n", text.c_str());
LogNotificationBus::Event(GetOwningScriptCanvasId(), &LogNotifications::LogMessage, text);
}
SignalOutput(GetSlotId("Out"));
}
}
}
}
@@ -0,0 +1,57 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#pragma once
#include <ScriptCanvas/CodeGen/CodeGen.h>
#include <ScriptCanvas/Core/Node.h>
#include <Source/Log.generated.h>
namespace ScriptCanvas
{
namespace Nodes
{
namespace Debug
{
class Log
: public Node
{
public:
ScriptCanvas_Node(Log,
ScriptCanvas_Node::Name("Log", "Logs the provided text in the debug console.")
ScriptCanvas_Node::Uuid("{6E100241-A738-4A8B-83C2-0FD0F5A44FDB}")
ScriptCanvas_Node::Icon("Editor/Icons/ScriptCanvas/Log.png")
ScriptCanvas_Node::Category("Utilities/Debug")
ScriptCanvas_Node::Version(0)
ScriptCanvas_Node::Deprecated("This node has been deprecated, use the Print node instead.")
ScriptCanvas_Node::EditAttributes(AZ::Script::Attributes::ExcludeFrom(AZ::Script::Attributes::ExcludeFlags::All))
);
void OnInputSignal(const SlotId& slotId) override;
// Inputs
ScriptCanvas_In(ScriptCanvas_In::Name("In", "Input signal"));
// Outputs
ScriptCanvas_Out(ScriptCanvas_Out::Name("Out", ""));
private:
ScriptCanvas_Property(AZStd::string,
ScriptCanvas_Property::Name("Value", "The value to log")
ScriptCanvas_Property::Input
);
};
}
}
}
@@ -0,0 +1,46 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#include "precompiled.h"
#include <ScriptCanvasDiagnosticLibrary/ScriptCanvasDiagnosticLibraryGem.h>
#include <ScriptCanvasDiagnosticSystemComponent.h>
#include <AzCore/Component/Component.h>
#include <AzCore/Serialization/SerializeContext.h>
#include "DebugLibraryDefinition.h"
namespace ScriptCanvasDiagnostics
{
Module::Module()
: AZ::Module()
{
m_descriptors.insert(m_descriptors.end(), {
ScriptCanvasDiagnostics::SystemComponent::CreateDescriptor(),
});
AZStd::vector<AZ::ComponentDescriptor*> componentDescriptors(ScriptCanvas::Libraries::Debug::GetComponentDescriptors());
m_descriptors.insert(m_descriptors.end(), componentDescriptors.begin(), componentDescriptors.end());
}
AZ::ComponentTypeList Module::GetRequiredSystemComponents() const
{
return AZ::ComponentTypeList({ ScriptCanvasDiagnostics::SystemComponent::RTTI_Type() });
}
}
// DO NOT MODIFY THIS LINE UNLESS YOU RENAME THE GEM
// The first parameter should be GemName_GemIdLower
// The second should be the fully qualified name of the class above
AZ_DECLARE_MODULE_CLASS(Gem_ScriptCanvasDiagnosticLibrary, ScriptCanvasDiagnostics::Module)
@@ -0,0 +1,92 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#include "precompiled.h"
#include "ScriptCanvasDiagnosticSystemComponent.h"
#include <AzCore/Serialization/EditContext.h>
#include <ScriptCanvasDiagnosticLibrary/DebugDrawBus.h>
#include "DebugLibraryDefinition.h"
namespace ScriptCanvasDiagnostics
{
void SystemComponent::Init()
{
AZ::EnvironmentVariable<ScriptCanvas::NodeRegistry> nodeRegistryVariable = AZ::Environment::FindVariable<ScriptCanvas::NodeRegistry>(ScriptCanvas::s_nodeRegistryName);
if (nodeRegistryVariable)
{
ScriptCanvas::NodeRegistry& nodeRegistry = nodeRegistryVariable.Get();
ScriptCanvas::Libraries::Debug::InitNodeRegistry(nodeRegistry);
}
}
SystemComponent::~SystemComponent()
{
}
void SystemComponent::Activate()
{
SystemRequestBus::Handler::BusConnect();
CrySystemEventBus::Handler::BusConnect();
}
void SystemComponent::Deactivate()
{
CrySystemEventBus::Handler::BusDisconnect();
SystemRequestBus::Handler::BusDisconnect();
}
void SystemComponent::OnDebugDraw()
{
DebugDrawBus::Broadcast(&DebugDrawRequests::OnDebugDraw, m_system->GetIRenderer());
}
void SystemComponent::OnCrySystemShutdown([[maybe_unused]] ISystem& system)
{
m_system->GetIRenderer()->RemoveRenderDebugListener(this);
}
void SystemComponent::OnCrySystemInitialized(ISystem& system, [[maybe_unused]] const SSystemInitParams& systemInitParams)
{
m_system = &system;
AZ_Assert(m_system->GetIRenderer(), "ScriptCanvasDiagnostics requires IRenderer");
m_system->GetIRenderer()->AddRenderDebugListener(this);
}
bool SystemComponent::IsEditor()
{
return m_system && m_system->GetGlobalEnvironment() && m_system->GetGlobalEnvironment()->IsEditor();
}
void SystemComponent::Reflect(AZ::ReflectContext* context)
{
ScriptCanvas::Libraries::Debug::Reflect(context);
if (auto serialize = azrtti_cast<AZ::SerializeContext*>(context))
{
serialize->Class<SystemComponent, AZ::Component>()
->Version(0)
;
if (AZ::EditContext* ec = serialize->GetEditContext())
{
ec->Class<SystemComponent>("Script Canvas Diagnostic", "Script Canvas Diagnostic System Component")
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
->Attribute(AZ::Edit::Attributes::Category, "Scripting")
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("System", 0xc94d118b))
->Attribute(AZ::Edit::Attributes::AutoExpand, true)
;
}
}
}
}
@@ -0,0 +1,60 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#pragma once
#include <AzCore/Component/Component.h>
#include <CryCommon/IRenderer.h>
#include <CrySystemBus.h>
#include <ScriptCanvasDiagnosticLibrary/DebugDrawBus.h>
struct ISystem;
namespace ScriptCanvasDiagnostics
{
class SystemComponent
: public AZ::Component
, public IRenderDebugListener
, private CrySystemEventBus::Handler
, private SystemRequestBus::Handler
{
public:
AZ_COMPONENT(SystemComponent, "{6A90B0E7-EB47-48B5-910D-4881E429AC9D}");
static void Reflect(AZ::ReflectContext* context);
SystemComponent() = default;
~SystemComponent() override;
void Init() override;
void Activate() override;
void Deactivate() override;
// IRenderDebugListener
void OnDebugDraw() override;
// SystemRequestBus
bool IsEditor() override;
private:
ISystem * m_system;
// CrySystemEventBus
void OnCrySystemInitialized(ISystem& system, const SSystemInitParams& systemInitParams) override;
void OnCrySystemShutdown(ISystem& system) override;
};
}
@@ -0,0 +1,13 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#include "precompiled.h"
@@ -0,0 +1,28 @@
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or the license accompanying this file. Do not
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
#pragma once
#include <AzCore/Serialization/SerializeContext.h>
#include <AzCore/RTTI/BehaviorContext.h>
#include <AzCore/Math/Color.h>
#include <AzCore/Math/Vector2.h>
#include <AzCore/Math/Vector3.h>
#include <AzCore/Math/Vector4.h>
#if !defined(SCRIPTCANVASDIAGNOSTICSLIBRARY_EDITOR)
#include <AzCore/PlatformIncl.h>
#else
#endif