Grouping of viewport ui related state for aligning transforms to a grid. More...
#include <EditorTransformComponentSelection.h>
Public Member Functions | |
SnappingCluster (const SnappingCluster &)=delete | |
SnappingCluster & | operator= (const SnappingCluster &)=delete |
void | TrySetVisible (bool visible) |
Attempt to show the snapping cluster (will only succeed if snapping is enabled). | |
Public Attributes | |
ViewportUi::ClusterId | m_clusterId |
The cluster id for all snapping buttons. | |
ViewportUi::ButtonId | m_snapToWorldButtonId |
The button id for snapping all axes to the world. | |
AZ::Event< ViewportUi::ButtonId >::Handler | m_snappingHandler |
Callback for when a snapping cluster button is pressed. | |
Grouping of viewport ui related state for aligning transforms to a grid.