|
|
| BoxViewportEdit (bool allowAsymmetricalEditing=false) |
| |
| 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 |
| |
|
void | InstallGetBoxDimensions (AZStd::function< AZ::Vector3()> getBoxDimensions) |
| |
|
void | InstallSetBoxDimensions (AZStd::function< void(const AZ::Vector3 &)> setBoxDimensions) |
| |
|
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) |
| |
|
|
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 () |
| |
|
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 6 linear manipulators, providing a viewport experience for modifying the extents of a box. It is designed to be usable either by a component mode or by other contexts which are not associated with a particular component, so editing does not rely on an EntityComponentIdPair or other component-based identifier.