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

#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_offset
 
AZ::Quaternion m_orientation
 
AZ::Vector3 m_halfExtents
 
AZ::Color m_color = AZ::Color(1.0f, 0.0f, 0.0f, 1.0f)
 

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 filled box, offset is local translation from the manipulator transform, box is often used in conjunction with other views, orientation allows the box to be orientated separately from the manipulator transform.

Member Function Documentation

◆ Draw()

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