Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TFrame3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/FrameTypes.h |
| Include | #include "FrameTypes.h" |
bool RayPlaneIntersection
&40;
const TVector< RealType > & RayOrigin,
const TVector< RealType > & RayDirection,
int PlaneNormalAxis,
UE::Math::TVector< RealType > & HitPointOut
&41; const
Remarks
Compute intersection of ray with plane defined by frame origin and axis as normal true if ray intersects plane and HitPointOut is valid
Parameters
| Name | Description |
|---|---|
| RayOrigin | origin of ray |
| RayDirection | direction of ray |
| PlaneNormalAxis | which axis of frame to use as plane normal |
| HitPointOut | intersection point, or invalid point if ray does not hit plane or is parallel to plane |