Integrating up through commit 90f050496

This commit is contained in:
alexpete
2021-04-07 14:03:29 -07:00
parent 8f2ed080a9
commit c2cbd430fe
2694 changed files with 285622 additions and 176874 deletions
@@ -13,10 +13,10 @@
#pragma once
#include <AzCore/Component/Component.h>
#include <AzCore/Component/TickBus.h>
#include <AzCore/Component/TransformBus.h>
#include <AtomLyIntegration/CommonFeatures/Grid/GridComponentBus.h>
#include <AtomLyIntegration/CommonFeatures/Grid/GridComponentConfig.h>
#include <Atom/RPI.Public/SceneBus.h>
namespace AZ
{
@@ -25,8 +25,8 @@ namespace AZ
//! Controls behavior and rendering of a wireframe grid
class GridComponentController final
: public GridComponentRequestBus::Handler
, public AZ::TickBus::Handler
, public AZ::TransformNotificationBus::Handler
, public AZ::RPI::SceneNotificationBus::Handler
{
public:
friend class EditorGridComponent;
@@ -64,12 +64,12 @@ namespace AZ
void SetSecondaryColor(const AZ::Color& gridSecondaryColor) override;
AZ::Color GetSecondaryColor() const override;
// AZ::TickBus::Handler overrides ...
void OnTick(float deltaTime, AZ::ScriptTimePoint time) override;
//! AZ::TransformNotificationBus::Handler overrides ...
void OnTransformChanged(const Transform& local, const Transform& world) override;
// AZ::RPI::SceneNotificationBus::Handler overrides ...
void OnBeginPrepareRender() override;
void BuildGrid();
EntityId m_entityId;