#include <EditorSelectionUtil.h>
|
| MidpointCalculator ()=default |
| Default constructed with min and max initialized to opposites.
|
|
void | AddPosition (const AZ::Vector3 &position) |
| Call this for all positions you want to be considered.
|
|
AZ::Vector3 | CalculateMidpoint () const |
| Once all positions have been added, call this to return the midpoint.
|
|
A utility to return the center of several points. Take several positions and store the min and max of each in turn - when all points have been added return the center/midpoint.
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorSelectionUtil.h