Navigation
API > API/Plugins > API/Plugins/DynamicMesh
FVertexConstraint is a constraint on a triangle mesh vertex
| Name | FVertexConstraint |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshConstraints.h |
| Include Path | #include "MeshConstraints.h" |
Syntax
struct FVertexConstraint
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MeshConstraints.h | |||
FVertexConstraint
(
IProjectionTarget* Target, |
MeshConstraints.h | ||
FVertexConstraint
(
bool bCannotDelete, |
MeshConstraints.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidSetID | int | Value for FixedSetID that is treated as not-a-fixed-set-ID by various functions (ie don't use this value yourself) | MeshConstraints.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCanMove | bool | Can this vertex be moved | MeshConstraints.h | |
| bCannotDelete | bool | Is this vertex permanent (i.e. cannot be removed by topology-change operations). | MeshConstraints.h | |
| FixedSetID | int | Vertices marked as "CannotDelete" but sharing the same FixedSetID can optionally be collapsed together (ie in Remesher) | MeshConstraints.h | |
| Target | IProjectionTarget * | Vertex is associated with this ProjectionTarget, and should be projected onto it (ie in Remesher) | MeshConstraints.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CombineConstraint
(
const FVertexConstraint& OtherConstraint |
Combine the incoming constraint with this constraint. | MeshConstraints.h | |
bool IsUnconstrained() |
MeshConstraints.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVertexConstraint FullyConstrained() |
MeshConstraints.h | ||
static FVertexConstraint PermanentMovable() |
MeshConstraints.h | ||
static FVertexConstraint Unconstrained() |
MeshConstraints.h |