Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations > API/Plugins/DynamicMesh/Operations/FMeshGeodesicSurfaceTracer
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshGeodesicSurfaceTracer.h |
| Include | #include "Operations/MeshGeodesicSurfaceTracer.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Operations/MeshGeodesicSurfaceTracer.cpp |
double TraceMeshFromVertex
&40;
const FMeshTangentDirection & Direction,
double MaxDistance
&41;
Remarks
Populate internal SurfaceTrace array of FTraceResults while following a "straight" path on the surface of a mesh. The starting location and direction are given in terms of a local parameterization of the initial triangle.
NB: it is assumed the edge Direction.EdgeID is adjacent to VID. ( otherwise the result will be unexpected) total distance of the trace, this may be less than the MaxDist (e.g. in the event the trace encounters a mesh edge)
Parameters
| Name | Description |
|---|---|
| Direction | Tangent plane direction of trace, defines the origin (VID) and the zero radian direction (EID.A to EID.B) along with a polar angle |
| MaxDist | Max distance the path is allowed to travel for this triangle trace. |