Navigation
API > API/Plugins > API/Plugins/PlanarCut
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 |
void ConvertToMeshDescription
&40;
FMeshDescription & OutputMesh,
FTransform & TransformOut,
bool bCenterPivot,
FGeometryCollection & Collection,
const TManagedArray< FTransform > & BoneTransforms,
const TArrayView< const int32 > & TransformIndices,
TFunction< int32(int32, bool)> RemapMaterialIDs
&41;
Remarks
Convert chosen Geometry groups inside a GeometryCollection to a single Mesh Description.
Parameters
| Name | 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 |
| RemapMaterialIDs | Optional function to remap (MaterialID, bIsInternal) -> NewMaterialID |