Fixing camera panning and zooming

This commit is contained in:
mnaumov
2021-04-14 12:17:45 -07:00
parent 7b3b1cd73e
commit 28ccb5d381
5 changed files with 44 additions and 3 deletions
@@ -53,6 +53,9 @@ namespace MaterialEditor
//! Modify camera's field of view
//! @param value field of view in degrees
virtual void SetFieldOfView(float value) = 0;
//! Check if camera is looking directly at a model
virtual bool IsCameraCentered() const = 0;
};
using MaterialEditorViewportInputControllerRequestBus = AZ::EBus<MaterialEditorViewportInputControllerRequests>;