Navigation
API > API/Plugins > API/Plugins/PlanarCut > API/Plugins/PlanarCut/ConvertToMeshDescription
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
(
FMeshDescription & OutputMesh,
FTransform & TransformOut,
bool bCenterPivot,
FGeometryCollection & Collection,
const TManagedArray < FTransform > & BoneTransforms,
const TArrayView < const int32 > & TransformIndices,
TFunction < int32 , bool)> RemapMaterialIDs
)
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 |