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

Display a quad representing part of a plane, rendered as 4 lines. 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
 
- 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_axis1 = AZ::Vector3(1.0f, 0.0f, 0.0f)
 
AZ::Vector3 m_axis2 = AZ::Vector3(0.0f, 1.0f, 0.0f)
 
AZ::Vector3 m_offset = AZ::Vector3::CreateZero()
 
AZ::Color m_axis1Color = AZ::Color(1.0f, 0.0f, 0.0f, 1.0f)
 
AZ::Color m_axis2Color = AZ::Color(1.0f, 0.0f, 0.0f, 1.0f)
 
float m_size = 0.06f
 size to render and do mouse ray intersection tests against.
 

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

Display a quad representing part of a plane, rendered as 4 lines.

Member Function Documentation

◆ Draw()

void AzToolsFramework::ManipulatorViewQuad::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: