Open 3D Engine WhiteBox 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.
WhiteBox::EdgeTranslationModifier Class Reference

EdgeTranslationModifier provides the ability to select and draw an edge in the viewport. More...

#include <WhiteBoxEdgeTranslationModifier.h>

Public Types

using HandleType = Api::EdgeHandle
 

Public Member Functions

 EdgeTranslationModifier (const AZ::EntityComponentIdPair &entityComponentIdPair, Api::EdgeHandle edgeHandle, const AZ::Vector3 &intersectionPoint)
 
bool MouseOver () const
 
void ForwardMouseOverEvent (const AzToolsFramework::ViewportInteraction::MouseInteraction &interaction)
 
Api::EdgeHandle GetHandle () const
 Return the currently hovered edge (generic context version).
 
Api::EdgeHandle GetEdgeHandle () const
 Return the currently hovered edge.
 
Api::EdgeHandles::const_iterator EdgeHandlesBegin () const
 Return begin iterator to edge handles.
 
Api::EdgeHandles::const_iterator EdgeHandlesEnd () const
 Return end iterator to edge handles.
 
void SetEdgeHandle (Api::EdgeHandle edgeHandle)
 
void SetColors (const AZ::Color &color, const AZ::Color &hoverColor)
 
void SetWidths (float width, float hoverWidth)
 
void Refresh ()
 
void CreateView ()
 
bool PerformingAction () const
 

Detailed Description

EdgeTranslationModifier provides the ability to select and draw an edge in the viewport.


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