#include <BoundInterface.h>
Inherited by AzToolsFramework::Picking::ManipulatorBoundBox, AzToolsFramework::Picking::ManipulatorBoundCone, AzToolsFramework::Picking::ManipulatorBoundCylinder, AzToolsFramework::Picking::ManipulatorBoundLineSegment, AzToolsFramework::Picking::ManipulatorBoundQuad, AzToolsFramework::Picking::ManipulatorBoundSphere, AzToolsFramework::Picking::ManipulatorBoundSpline, and AzToolsFramework::Picking::ManipulatorBoundTorus.
Public Member Functions | |
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 |
This class serves as the base class for the actual bound shapes that various DefaultContextBoundManager-derived classes return from the function CreateShape.
|
pure virtual |
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. |
Implemented in AzToolsFramework::Picking::ManipulatorBoundSphere, AzToolsFramework::Picking::ManipulatorBoundBox, AzToolsFramework::Picking::ManipulatorBoundCylinder, AzToolsFramework::Picking::ManipulatorBoundCone, AzToolsFramework::Picking::ManipulatorBoundQuad, AzToolsFramework::Picking::ManipulatorBoundTorus, AzToolsFramework::Picking::ManipulatorBoundLineSegment, and AzToolsFramework::Picking::ManipulatorBoundSpline.