|
| CapsuleViewportEdit (bool allowAsymmetricalEditing=false) |
|
void | SetEnsureHeightExceedsTwiceRadius (bool ensureHeightExceedsTwiceRadius) |
| Set whether to force height to exceed twice the radius when editing (default is true).
|
|
void | InstallGetCapsuleRadius (AZStd::function< float()> getCapsuleRadius) |
|
void | InstallGetCapsuleHeight (AZStd::function< float()> getCapsuleHeight) |
|
void | InstallSetCapsuleRadius (AZStd::function< void(float)> setCapsuleRadius) |
|
void | InstallSetCapsuleHeight (AZStd::function< void(float)> setCapsuleHeight) |
|
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 | OnCameraStateChanged (const AzFramework::CameraState &cameraState) |
|
virtual void | Setup (const ManipulatorManagerId manipulatorManagerId)=0 |
|
virtual void | Teardown ()=0 |
| Destroy the manipulators for the shape properties being edited.
|
|
virtual void | UpdateManipulators ()=0 |
| Call after modifying the shape to ensure that the space the manipulators operate in is updated, along with other properties.
|
|
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) |
|
|
virtual void | ResetValuesImpl ()=0 |
|
virtual void | AddEntityComponentIdPairImpl (const AZ::EntityComponentIdPair &entityComponentIdPair)=0 |
|
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 linear manipulators, providing a viewport experience for modifying the radius and height of a capsule. 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.