Open 3D Engine AzToolsFramework API Reference 26.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::Picking::ManipulatorBoundQuad Class Reference

#include <ManipulatorBounds.h>

Inherits AzToolsFramework::Picking::BoundShapeInterface.

Public Member Functions

 AZ_RTTI (ManipulatorBoundQuad, "{3CDED61C-5786-4299-B5F2-5970DE4457AD}", BoundShapeInterface)
 
 AZ_CLASS_ALLOCATOR (ManipulatorBoundQuad, AZ::SystemAllocator)
 
 ManipulatorBoundQuad (RegisteredBoundId boundId)
 
bool IntersectRay (const AZ::Vector3 &rayOrigin, const AZ::Vector3 &rayDir, float &rayIntersectionDistance) const override
 
void SetShapeData (const BoundRequestShapeBase &shapeData) override
 

Public Attributes

AZ::Vector3 m_corner1 = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_corner2 = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_corner3 = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_corner4 = AZ::Vector3::CreateZero()
 

Detailed Description

The quad shape consists of 4 points in 3D space. Please set them from m_corner1 to m_corner4 in either clock-wise winding or counter clock-wise winding. In another word, m_corner1 and corner_2 cannot be diagonal corners.


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