Navigation
API > API/Plugins > API/Plugins/GeometryCollectionEditor > API/Plugins/GeometryCollectionEditor/GeometryCollection > API/Plugins/GeometryCollectionEditor/GeometryCollection/FGeometryCollect-_2 > API/Plugins/GeometryCollectionEditor/GeometryCollection/FGeometryCollect-_2/AppendGeometryCo-
References
| Module | GeometryCollectionEditor |
| Header | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionEditor/Public/GeometryCollection/GeometryCollectionConversion.h |
| Include | #include "GeometryCollection/GeometryCollectionConversion.h" |
| Source | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionEditor/Private/GeometryCollection/GeometryCollectionConversion.cpp |
static void AppendGeometryCollection
(
const UGeometryCollection * SourceGeometryCollection,
const TArray < UMaterialInterface * > & Materials,
const FTransform & GeometryCollectionTransform,
UGeometryCollection * TargetGeometryCollectionObject,
bool ReindexMaterials
)
Remarks
Appends a GeometryCollection to a GeometryCollectionComponent.
Parameters
| Name | Description |
|---|---|
| SourceGeometryCollection | : Const GeometryCollection to read vertex/normals/index data from |
| Materials | : Materials fetched from the GeometryCollectionComponent used to configure this geometry |
| GeometryCollectionTransform | : GeometryCollection transform. |
| TargetGeometryCollection | : Collection to append the GeometryCollection into. |