Open 3D Engine WhiteBox Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
WhiteBox::TransformMode Class Reference

Inherits EditorWhiteBoxTransformModeRequestBus::Handler.

Public Types

using IntersectionSelection = AZStd::variant< PolygonIntersection, EdgeIntersection, VertexIntersection, AZStd::monostate >
 

Public Member Functions

 TransformMode (const AZ::EntityComponentIdPair &entityComponentIdPair)
 
void Refresh ()
 
AZStd::vector< AzToolsFramework::ActionOverride > PopulateActions (const AZ::EntityComponentIdPair &entityComponentIdPair)
 
void Display (const AZ::EntityComponentIdPair &entityComponentIdPair, const AZ::Transform &worldFromLocal, const IntersectionAndRenderData &renderData, const AzFramework::ViewportInfo &viewportInfo, AzFramework::DebugDisplayRequests &debugDisplay)
 
bool HandleMouseInteraction (const AzToolsFramework::ViewportInteraction::MouseInteractionEvent &mouseInteraction, const AZ::EntityComponentIdPair &entityComponentIdPair, const AZStd::optional< EdgeIntersection > &edgeIntersection, const AZStd::optional< PolygonIntersection > &polygonIntersection, const AZStd::optional< VertexIntersection > &vertexIntersection)
 
void ChangeTransformType (TransformType subModeType) override
 

Static Public Member Functions

static void RegisterActionUpdaters ()
 
static void RegisterActions ()
 
static void BindActionsToModes (const AZStd::string &modeIdentifier)
 
static void BindActionsToMenus ()
 

Static Public Attributes

constexpr static AZ_CLASS_ALLOCATOR_DECL const char *const ManipulatorModeClusterTranslateTooltip = "Switch to translate mode"
 
constexpr static const char *const ManipulatorModeClusterRotateTooltip = "Switch to rotate mode"
 
constexpr static const char *const ManipulatorModeClusterScaleTooltip = "Switch to scale mode"
 

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