IConstrainedMeshUVSolver

Interface to a index-based UV solver for a 3D triangle mesh that supports weighted point constraints.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Solvers/ConstrainedMeshSolver.h

Include

#include "Solvers/ConstrainedMeshSolver.h"

Syntax

class IConstrainedMeshUVSolver

Remarks

Interface to a index-based UV solver for a 3D triangle mesh that supports weighted point constraints.

Destructors

Name Description

Public function Virtual

~IConstrainedMeshUVSolver()

Functions

Name Description

Public function

void

 

AddConstraint

(
    const int32 VtxId,
    const double Weight,
    const FVector2d& Position,
    const bool bPostFix
)

Add or update a weighted positional constraint associated with VtxId

Public function

void

 

ClearConstraints()

Clear all constraints (Positions and Weights)

Public function Const

bool

 

IsConstrained

(
    const int32 VtxId
)

Test if a non-zero weighted constraint is associated with VtxId.

Public function

bool

 

SolveUVs

(
    const FDynamicMesh3* DynamicMe...,
    TArray< FVector2d >& UVBuffer
)

Returns the vertex locations of the deformed mesh.

Public function

bool

 

UpdateConstraintPosition

(
    const int32 VtxId,
    const FVector2d& Position,
    const bool bPostFix
)

Update or Create a constraint position associated with

Public function

bool

 

UpdateConstraintWeight

(
    const int32 VtxId,
    const double Weight
)

Update or Create a constraint weight associated with

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