Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::SnappingCluster Struct Reference

Grouping of viewport ui related state for aligning transforms to a grid. More...

#include <EditorTransformComponentSelection.h>

Public Member Functions

 SnappingCluster (const SnappingCluster &)=delete
 
SnappingClusteroperator= (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.
 

Detailed Description

Grouping of viewport ui related state for aligning transforms to a grid.


The documentation for this struct was generated from the following file: