ConvertToMeshDescription

Convert chosen Geometry groups inside a GeometryCollection to a single Mesh Description.

Choose your operating system:

Windows

macOS

Linux

References

Module

PlanarCut

Header

/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h

Include

#include "PlanarCut.h"

Source

/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Private/PlanarCut.cpp

Syntax

void ConvertToMeshDescription
(
    FMeshDescription & OutputMesh,
    FTransform & TransformOut,
    bool bCenterPivot,
    FGeometryCollection & Collection,
    const TManagedArray< FTransform > & BoneTransforms,
    const TArrayView< const int32 > & TransformIndices
)

Remarks

Convert chosen Geometry groups inside a GeometryCollection to a single Mesh Description.

Parameters

Parameter

Description

OutputMesh

Mesh to be filled with the geometry collection geometry

TransformOut

Transform taking output mesh geometry to local space of geometry collection

bCenterPivot

Whether to center the geometry at the origin

Collection

The collection to be converted

TransformIndices

Which transform groups inside the collection to convert