Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/FGeometryCollect-_9 > API/Runtime/GeometryCollectionEngine/GeometryCollection/FGeometryCollect-_9/AppendGeometryCo-_2
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionEngineConversion.h |
| Include | #include "GeometryCollection/GeometryCollectionEngineConversion.h" |
| Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionEngineConversion.cpp |
static bool AppendGeometryCollection
&40;
const FGeometryCollection &42; SourceGeometryCollection,
int32 MaterialStartIndex,
const FTransform & GeometryCollectionTransform,
FGeometryCollection &42; TargetGeometryCollection,
bool bReindexMaterials
&41;
Remarks
Appends a GeometryCollection to another GeometryCollection. true if succeeded in appending a geometry collection
Parameters
| Name | Description |
|---|---|
| SourceGeometryCollection | : Const GeometryCollection to read vertex/normals/index data from |
| MaterialStartIndex | : First index of materials to use |
| GeometryCollectionTransform | : GeometryCollection transform. |
| TargetGeometryCollection | : Collection to append the GeometryCollection into. |
| bReindexMaterials | : Whether to reindex materials if appending multiple meshes, pass false and call ReindexMaterials afterwards |