#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) override |
void | SetShapeData (const BoundRequestShapeBase &shapeData) override |
Public Member Functions inherited from AzToolsFramework::Picking::BoundShapeInterface | |
AZ_RTTI (BoundShapeInterface, "{C639CB8E-1957-4E4F-B889-3BE1DFBC358D}") | |
BoundShapeInterface (const RegisteredBoundId boundId) | |
RegisteredBoundId | GetBoundId () const |
virtual bool | IntersectRay (const AZ::Vector3 &rayOrigin, const AZ::Vector3 &rayDir, float &rayIntersectionDistance)=0 |
virtual void | SetShapeData (const BoundRequestShapeBase &shapeData)=0 |
void | SetValidity (bool valid) |
bool | IsValid () const |
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.
|
overridevirtual |
rayOrigin | The origin of the ray to test with. | |
rayDir | The direction of the ray to test with. | |
[out] | rayIntersectionDistance | The distance of the intersecting point closest to the ray origin. |
Implements AzToolsFramework::Picking::BoundShapeInterface.
|
overridevirtual |
Implements AzToolsFramework::Picking::BoundShapeInterface.