Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/FGeometryCollect-_9 > API/Runtime/GeometryCollectionEngine/GeometryCollection/FGeometryCollect-_9/ConvertGeometryC-
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 ConvertGeometryCollectionToGeometryCollection
(
const TObjectPtr < UGeometryCollection > InGeometryCollectionAssetPtr,
FManagedArrayCollection & OutCollection,
TArray < TObjectPtr < UMaterial > > & OutMaterials,
TArray < FGeometryCollectionAutoInstanceMesh > & OutInstancedMeshes
)
Remarks
Converts a UGeometryCollection asset to an FManagedArrayCollection, and arrays of materials and instanced meshes
Parameters
| Name | Description |
|---|---|
| GeometryCollection | : UGeometryCollection input to convert |
| OutCollection | : FGeometryCollection output |
| OutMaterials | : Materials from the UGeometryCollection |
| OutInstancedMeshes | : InstancedMeshes |