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