Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Description
Find the intersection of the ray defined by RayOrigin and RayDirection with the plane defined by PlaneOrigin and PlaneNormal. Returns intersection success/failure in bIntersectsOut and the intersection point in PlaneIntersectionPointOut
| Name | GizmoMath::RayPlaneIntersectionPoint |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoMath.h |
| Include Path | #include "BaseGizmos/GizmoMath.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoMath.cpp |
namespace GizmoMath
{
void GizmoMath::RayPlaneIntersectionPoint
(
const FVector & PlaneOrigin,
const FVector & PlaneNormal,
const FVector & RayOrigin,
const FVector & RayDirection,
bool & bIntersectsOut,
FVector & PlaneIntersectionPointOut
)
}