Open 3D Engine LyShine Gem 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.
ViewportAlign Class Reference

ViewportAlign contains static function that implement alignment operations on elements. More...

#include <ViewportAlign.h>

Public Types

enum class  AlignType {
  HorizontalLeft , HorizontalCenter , HorizontalRight , VerticalTop ,
  VerticalCenter , VerticalBottom
}
 

Static Public Member Functions

static void AlignSelectedElements (EditorWindow *editorWindow, AlignType alignType)
 Align the selected elements using the given type of alignment operation.
 
static bool IsAlignAllowed (EditorWindow *editorWindow)
 Check if alignment is allowed given the current selection.
 

Detailed Description

ViewportAlign contains static function that implement alignment operations on elements.


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