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

Displays a wire circle that's projected and rotated into world space (useful for paint brush manipulators). More...

#include <ManipulatorView.h>

Inherits AzToolsFramework::ManipulatorView.

Public Member Functions

void Draw (ManipulatorManagerId managerId, const ManipulatorManagerState &managerState, ManipulatorId manipulatorId, const ManipulatorState &manipulatorState, AzFramework::DebugDisplayRequests &debugDisplay, const AzFramework::CameraState &cameraState, const ViewportInteraction::MouseInteraction &mouseInteraction) override
 
void SetRadius (float radius)
 
- Public Member Functions inherited from AzToolsFramework::ManipulatorView
 ManipulatorView (bool screenSizeFixed)
 
 ManipulatorView (ManipulatorView &&)=default
 
ManipulatorViewoperator= (ManipulatorView &&)=default
 
void SetBoundDirty (ManipulatorManagerId managerId)
 
void RefreshBound (ManipulatorManagerId managerId, ManipulatorId manipulatorId, const Picking::BoundRequestShapeBase &bound)
 
void Invalidate (ManipulatorManagerId managerId)
 
virtual void Draw (ManipulatorManagerId managerId, const ManipulatorManagerState &managerState, ManipulatorId manipulatorId, const ManipulatorState &manipulatorState, AzFramework::DebugDisplayRequests &debugDisplay, const AzFramework::CameraState &cameraState, const ViewportInteraction::MouseInteraction &mouseInteraction)=0
 
bool ScreenSizeFixed () const
 

Public Attributes

AZ::Vector3 m_axis = AZ::Vector3::CreateAxisZ()
 
float m_width = 0.5f
 
float m_radius = 2.0f
 
AZ::Color m_color = AZ::Colors::Red
 

Additional Inherited Members

- Protected Member Functions inherited from AzToolsFramework::ManipulatorView
float ManipulatorViewScaleMultiplier (const AZ::Vector3 &worldPosition, const AzFramework::CameraState &cameraState) const
 
- Protected Attributes inherited from AzToolsFramework::ManipulatorView
AZ::Color m_mouseOverColor = BaseManipulator::s_defaultMouseOverColor
 

Detailed Description

Displays a wire circle that's projected and rotated into world space (useful for paint brush manipulators).

Member Function Documentation

◆ Draw()

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

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