FDynamicSubmesh3::Compute

Computes the Submesh object, index mappings corresponding sub to base mesh, and boundary between sub and base mesh

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicSubmesh3.h

Include

#include "DynamicSubmesh3.h"

Syntax

void Compute
(
    const TArrayView< const int > & SubTriangles,
    int WantComponents,
    bool bAttributes
)

Remarks

Computes the Submesh object, index mappings corresponding sub to base mesh, and boundary between sub and base mesh

Parameters

Parameter

Description

SubTriangles

ArrayView of triangle IDs to include in the submesh

WantComponents

Bit flag of desired mesh components; will only enable if flag is set AND the components are enabled in the BaseMesh

bAttributes

Flag indicating if attributes are needed for submesh; will only enable attributes if flag is set AND attributes are enabled in the BaseMesh

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