FPoly::OnPoly

Checks to see if the specified vertex is on this poly.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Polys.h

Include

#include "Engine/Polys.h"

Source

/Engine/Source/Runtime/Engine/Private/Polygon.cpp

Syntax

bool OnPoly
(
    FVector InVtx
)

Remarks

Checks to see if the specified vertex is on this poly. Assumes the vertex is on the same plane as the poly and that the poly is convex.

This can be combined with FMath::LinePlaneIntersection to perform a line-fpoly intersection test.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss