ConvertToMeshDescription

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

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 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

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