Wraps translation manipulators for editing shape translation offsets. More...
#include <ShapeTranslationOffsetViewportEdit.h>
Inherits AzToolsFramework::BaseShapeViewportEdit.
Public Member Functions | |
| void | Setup (const ManipulatorManagerId manipulatorManagerId) override |
| void | Teardown () override |
| Destroy the manipulators for the shape properties being edited. | |
| void | UpdateManipulators () override |
| Call after modifying the shape to ensure that the space the manipulators operate in is updated, along with other properties. | |
| void | ResetValuesImpl () override |
| void | AddEntityComponentIdPairImpl (const AZ::EntityComponentIdPair &entityComponentIdPair) override |
Public Member Functions inherited from AzToolsFramework::BaseShapeViewportEdit | |
| void | ResetValues () |
| Reset the shape properties being edited to their default values. | |
| void | AddEntityComponentIdPair (const AZ::EntityComponentIdPair &entityComponentIdPair) |
| virtual void | OnCameraStateChanged (const AzFramework::CameraState &cameraState) |
| void | InstallGetManipulatorSpace (AZStd::function< AZ::Transform()> getManipulatorSpace) |
| void | InstallGetNonUniformScale (AZStd::function< AZ::Vector3()> getNonUniformScale) |
| void | InstallGetTranslationOffset (AZStd::function< AZ::Vector3()> getTranslationOffset) |
| void | InstallGetRotationOffset (AZStd::function< AZ::Quaternion()> getRotationOffset) |
| void | InstallSetTranslationOffset (AZStd::function< void(const AZ::Vector3 &)> setTranslationOffset) |
| void | InstallBeginEditing (AZStd::function< void()> beginEditing) |
| void | InstallEndEditing (AZStd::function< void()> endEditing) |
Additional Inherited Members | |
Protected Member Functions inherited from AzToolsFramework::BaseShapeViewportEdit | |
| AZ::Transform | GetManipulatorSpace () const |
| AZ::Vector3 | GetNonUniformScale () const |
| AZ::Vector3 | GetTranslationOffset () const |
| AZ::Quaternion | GetRotationOffset () const |
| void | SetTranslationOffset (const AZ::Vector3 &translationOffset) |
| AZ::Transform | GetLocalTransform () const |
| void | BeginEditing () |
| void | EndEditing () |
| void | BeginUndoBatch (const char *label) |
| void | EndUndoBatch () |
Protected Attributes inherited from AzToolsFramework::BaseShapeViewportEdit | |
| AZStd::function< AZ::Transform()> | m_getManipulatorSpace |
| AZStd::function< AZ::Vector3()> | m_getNonUniformScale |
| AZStd::function< AZ::Vector3()> | m_getTranslationOffset |
| AZStd::function< AZ::Quaternion()> | m_getRotationOffset |
| AZStd::function< void(const AZ::Vector3 &)> | m_setTranslationOffset |
| AZStd::function< void()> | m_beginEditing |
| AZStd::function< void()> | m_endEditing |
| AZStd::unordered_set< AZ::EntityId > | m_entityIds |
| UndoSystem::URSequencePoint * | m_undoBatch = nullptr |
Wraps translation manipulators for editing shape translation offsets.
|
overridevirtual |
Implements AzToolsFramework::BaseShapeViewportEdit.
|
overridevirtual |
Implements AzToolsFramework::BaseShapeViewportEdit.
|
overridevirtual |
Create manipulators for the shape properties to be edited. Make sure to install all the required functions before calling Setup.
Implements AzToolsFramework::BaseShapeViewportEdit.
|
overridevirtual |
Destroy the manipulators for the shape properties being edited.
Implements AzToolsFramework::BaseShapeViewportEdit.
|
overridevirtual |
Call after modifying the shape to ensure that the space the manipulators operate in is updated, along with other properties.
Implements AzToolsFramework::BaseShapeViewportEdit.