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

Displays a polygon with an outline around the edge. More...

#include <WhiteBoxManipulatorViews.h>

Inherits AzToolsFramework::ManipulatorView.

Public Member Functions

void Draw (AzToolsFramework::ManipulatorManagerId managerId, const AzToolsFramework::ManipulatorManagerState &managerState, AzToolsFramework::ManipulatorId manipulatorId, const AzToolsFramework::ManipulatorState &manipulatorState, AzFramework::DebugDisplayRequests &debugDisplay, const AzFramework::CameraState &cameraState, const AzToolsFramework::ViewportInteraction::MouseInteraction &mouseInteraction) override
 

Public Attributes

AZ::Transform m_polygonViewOverlapOffset
 
AZStd::vector< AZ::Vector3 > m_triangles
 
Api::VertexPositionsCollection m_outlines
 
AZ::Color m_outlineColor = AZ::Color(1.0f, 1.0f, 0.0f, 1.0f)
 Yellow.
 
AZ::Color m_fillColor = AZ::Color(1.0f, 1.0f, 0.0f, 0.5f)
 Yellow.
 

Detailed Description

Displays a polygon with an outline around the edge.


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