Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/Math > API/Plugins/GameplayCameras/Math/FFramingZone
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Math/CameraFramingZoneMath.h |
| Include | #include "Math/CameraFramingZoneMath.h" |
| Source | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Private/Math/CameraFramingZoneMath.cpp |
FVector2d ComputeClosestIntersection
(
const FVector2d & Origin,
const FVector2d & LineDir,
bool bLineDirIsNormalized
) const
Remarks
Computes intersections between a line and the zone's box, and returns the one closest to the line's origin point.