Gems/GradientSignal

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
monroegm-disable-blank-issue-2
Esteban Papp 4 years ago
parent 545beaab7d
commit 35a7ad612b

@ -92,7 +92,7 @@ namespace GradientSignal
using BaseClassType::m_component;
using BaseClassType::m_configuration;
virtual AZ::u32 ConfigurationChanged();
AZ::u32 ConfigurationChanged() override;
// This is used by the preview so we can pass an invalid entity Id if our component is disabled
AZ::EntityId GetGradientEntityId() const;

@ -66,7 +66,7 @@ namespace GradientSignal
AZ::u32 GetHandlerName() const override;
bool ReadValueIntoGUI(size_t index, GradientPreviewDataWidget* GUI, void* value, const AZ::Uuid& propertyType) override;
void ConsumeAttribute(GradientPreviewDataWidget* GUI, AZ::u32 attrib, AzToolsFramework::PropertyAttributeReader* attrValue, const char* debugName);
void ConsumeAttribute(GradientPreviewDataWidget* GUI, AZ::u32 attrib, AzToolsFramework::PropertyAttributeReader* attrValue, const char* debugName) override;
QWidget* CreateGUI(QWidget* pParent) override;
void PreventRefresh(QWidget* widget, bool shouldPrevent) override;

@ -174,8 +174,8 @@ namespace UnitTest
}
AZ::EntityId GetPreviewEntity() const override { return m_id; }
virtual AZ::Aabb GetPreviewBounds() const { return m_previewBounds; }
virtual bool GetConstrainToShape() const { return m_constrainToShape; }
AZ::Aabb GetPreviewBounds() const override { return m_previewBounds; }
bool GetConstrainToShape() const override { return m_constrainToShape; }
protected:
AZ::EntityId m_id;

Loading…
Cancel
Save