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::VertexTranslationModifier Class Reference

VertexTranslationModifier provides the ability to translate a single vertex in the viewport. More...

#include <WhiteBoxVertexTranslationModifier.h>

Inherits AzFramework::ViewportDebugDisplayEventBus::Handler, and AZ::TickBus::Handler.

Public Types

using HandleType = Api::VertexHandle
 

Public Member Functions

 VertexTranslationModifier (const AZ::EntityComponentIdPair &entityComponentIdPair, Api::VertexHandle vertexHandle, const AZ::Vector3 &intersectionPoint)
 
bool MouseOver () const
 
void ForwardMouseOverEvent (const AzToolsFramework::ViewportInteraction::MouseInteraction &interaction)
 
Api::VertexHandle GetHandle () const
 
Api::VertexHandle GetVertexHandle () const
 
void SetVertexHandle (Api::VertexHandle vertexHandle)
 
void SetColor (const AZ::Color &color)
 
void Refresh ()
 
void CreateView ()
 
bool PerformingAction () const
 

Static Public Attributes

static const int InvalidAxisIndex = -1
 

Detailed Description

VertexTranslationModifier provides the ability to translate a single vertex in the viewport.


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