TMeshDijkstra::ComputeToTargetPoint

Computes outwards from seed points to TargetPointID, or stop when all points are further than ComputeToMaxDistance from the seed

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Parameterization/MeshDijkstra.h

Include

#include "Parameterization/MeshDijkstra.h"

Syntax

bool ComputeToTargetPoint
(
    const TArray< FVector2d > & SeedPointsIn,
    int32 TargetPointID,
    double ComputeToMaxDistanceIn
)

Remarks

Computes outwards from seed points to TargetPointID, or stop when all points are further than ComputeToMaxDistance from the seed

Returns

true if TargetPointID was reached

Parameters

Parameter

Description

SeedPointsIn

seed points defined as 2D vector tuples, will be interpreted as (seed_point_vertex_id, seed_distance)

TargetPointID

ComputeToMaxDistance

target radius for parameterization, will not set UVs on points with graph-distance larger than this

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