Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
Simplify a medial skeleton using the quadric error metric
| Name | FSimplifyMedialSkeletonDataflowNode_v2 |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionSamplingNodes.h |
| Include Path | #include "Dataflow/GeometryCollectionSamplingNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection))
struct FSimplifyMedialSkeletonDataflowNode_v2 : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FSimplifyMedialSkeletonDataflowNode_v2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSimplifyMedialSkeletonDataflowNode_v2
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionSamplingNodes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOnlySimplifySurfaces | bool | If true, only simplify edges of skeleton surfaces (edges that have triangles associated) | Dataflow/GeometryCollectionSamplingNodes.h |
|
| bPreventEdgeSurfaceIntersections | bool | If true, prevent collapses that would introduce intersections between skeleton edges and the mesh. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| bSplitThinTriEdges | bool | Whether to split edges attached to skinny triangles before simplifying, which can add useful degrees of freedom to the simplifier. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| ClusterRegularizeWeight | float | Regularization weight encouraging skeleton clusters to keep their original positions and radii. | Dataflow/GeometryCollectionSamplingNodes.h | |
| ClusterSkeletonDistanceWt | float | How much the simplifier should attempt to remain close to the initial skeleton, vs keeping medial spheres close to the mesh surface. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| EdgeLengthThreshold | float | If positive, the maximum edge length to consider for collapse. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| MedialSpheres | TArray< FSphere > | Dataflow/GeometryCollectionSamplingNodes.h |
|
|
| MinSpheres | int32 | Stop simplifying at this sphere count. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| QEMErrorThresholdSqrt | float | If positive, will not collapse edges if it would introduce more quadric error than the square of this threshold. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SphereOverlapThreshold | float | If positive, the minimum medial sphere overlap fraction to consider for collapse so e.g. at 1.0 we will only collapse an edge if its smaller medial sphere is contained in the larger. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SphereRadiusThreshold | float | If positive, the maximum sphere radius to consider for collapse. If either cluster's medial sphere on an edge has smaller radii, it is allowed to collapse. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SplitThinTriEdgeAngleThresholdDeg | float | Minimum angle (degrees) at the opposite vertex for an edge to be a split candidate. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| SplitThinTriEdgePosErrorWt | float | Position error weight used when re-clustering vertices after thin-triangle edge splits. | Dataflow/GeometryCollectionSamplingNodes.h |
|
| TargetMesh | DATAFLOW_NODE_DEFINE_INTERNAL(FSimplifyMedialSkeletonDataflowNode_v2, "SimplifyMedialSkeleton", "MedialSkeletonSampling", "Reduce") private TObjectPtr< UDataflowMesh > | Medial skeleton to simplify Mesh the skeleton was sampled from, used to compute the error metric | Dataflow/GeometryCollectionSamplingNodes.h |
|
Functions
Public
Public Virtual
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionSamplingNodes.h |