Navigation
Unreal Engine C++ API Reference > Runtime > Core > Math > FMath
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include | #include "Math/UnrealMathUtility.h" |
Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static float GetTForSegmentPlaneIntersect
&40;
const FVector & StartPoint,
const FVector & EndPoint,
const FPlane & Plane
&41;
Remarks
Returns the time (t) of the intersection of the passed segment and a plane (could be <0 or >1) time(T) of intersection
Parameters
Name | Description |
---|---|
StartPoint | start point of segment |
EndPoint | end point of segment |
Plane | plane to intersect with |