|
| AZ_RTTI (SelectionManipulator, "{966F44B7-E287-4C28-9734-5958F1A13A1D}", BaseManipulator) |
|
| AZ_CLASS_ALLOCATOR (SelectionManipulator, AZ::SystemAllocator) |
|
| SelectionManipulator (const SelectionManipulator &)=delete |
|
SelectionManipulator & | operator= (const SelectionManipulator &)=delete |
|
void | InstallLeftMouseDownCallback (const MouseActionCallback &onMouseDownCallback) |
|
void | InstallLeftMouseUpCallback (const MouseActionCallback &onMouseUpCallback) |
|
void | InstallRightMouseDownCallback (const MouseActionCallback &onMouseDownCallback) |
|
void | InstallRightMouseUpCallback (const MouseActionCallback &onMouseUpCallback) |
|
void | Draw (const ManipulatorManagerState &managerState, AzFramework::DebugDisplayRequests &debugDisplay, const AzFramework::CameraState &cameraState, const ViewportInteraction::MouseInteraction &mouseInteraction) override |
| Rendering for the manipulator - it is recommended drawing be delegated to a ManipulatorView.
|
|
bool | Selected () const |
|
void | Select () |
|
void | Deselect () |
|
void | ToggleSelected () |
|
template<typename Views > |
void | SetViews (Views &&views) |
|
AZ_CLASS_ALLOCATOR_DECL | BaseManipulator (const BaseManipulator &)=delete |
|
BaseManipulator & | operator= (const BaseManipulator &)=delete |
|
bool | OnLeftMouseDown (const ViewportInteraction::MouseInteraction &interaction, float rayIntersectionDistance) |
|
void | OnLeftMouseUp (const ViewportInteraction::MouseInteraction &interaction) |
|
bool | OnRightMouseDown (const ViewportInteraction::MouseInteraction &interaction, float rayIntersectionDistance) |
|
void | OnRightMouseUp (const ViewportInteraction::MouseInteraction &interaction) |
|
void | OnMouseMove (const ViewportInteraction::MouseInteraction &interaction) |
|
void | OnMouseWheel (const ViewportInteraction::MouseInteraction &interaction) |
|
bool | OnMouseOver (ManipulatorId manipulatorId, const ViewportInteraction::MouseInteraction &interaction) |
|
void | Register (ManipulatorManagerId managerId) |
|
void | Unregister () |
| Unregister itself from the manipulator manager it was registered with.
|
|
void | SetBoundsDirty () |
| Bounds will need to be recalculated next time we render.
|
|
bool | Registered () const |
| Is this manipulator currently registered with a manipulator manager.
|
|
bool | PerformingAction () const |
| Is the manipulator in the middle of an action (between mouse down and mouse up).
|
|
bool | MouseOver () const |
| Is the mouse currently over the manipulator (intersecting manipulator bound).
|
|
ManipulatorId | GetManipulatorId () const |
| The unique id of this manipulator.
|
|
ManipulatorManagerId | GetManipulatorManagerId () const |
| The unique id of the manager this manipulator was registered with.
|
|
const UniqueEntityComponentIds & | EntityComponentIdPairs () const |
| Returns all EntityComponentIdPairs associated with this manipulator.
|
|
void | AddEntityComponentIdPair (const AZ::EntityComponentIdPair &entityComponentIdPair) |
| Add an entity and component the manipulator is responsible for.
|
|
UniqueEntityComponentIds::iterator | RemoveEntityId (AZ::EntityId entityId) |
|
UniqueEntityComponentIds::iterator | RemoveEntityComponentIdPair (const AZ::EntityComponentIdPair &entityComponentIdPair) |
| Remove a specific component (via a EntityComponentIdPair) being affected by this manipulator.
|
|
bool | HasEntityId (AZ::EntityId entityId) const |
| Is this entity currently being tracked by this manipulator.
|
|
bool | HasEntityComponentIdPair (const AZ::EntityComponentIdPair &entityComponentIdPair) const |
| Is this entity component pair currently being tracked by this manipulator.
|
|
void | ForwardMouseOverEvent (const ViewportInteraction::MouseInteraction &interaction) |
|
const AZ::Vector3 & | GetLocalPosition () const |
|
void | SetLocalPosition (const AZ::Vector3 &localPosition) |
|
const AZ::Transform & | GetSpace () const |
|
void | SetSpace (const AZ::Transform &space) |
|
const AZ::Vector3 & | GetNonUniformScale () const |
|
void | SetNonUniformScale (const AZ::Vector3 &nonUniformScale) |
|
AZ::Transform | ApplySpace (const AZ::Transform &localTransform) const |
| Calculates a transform combining the space and local transform, taking non-uniform scale into account.
|
|
Represents a sphere that can be clicked on to trigger a particular behavior. For example clicking a preview point to create a translation manipulator.