Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/FGeometryCollect-_9 > API/Runtime/GeometryCollectionEngine/GeometryCollection/FGeometryCollect-_9/AppendStaticMesh
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 AppendStaticMesh
(
const UStaticMesh * StaticMesh,
const UStaticMeshComponent * StaticMeshComponent,
const FTransform & StaticMeshTransform,
UGeometryCollection * GeometryCollection,
bool bReindexMaterials,
bool bAddInternalMaterials,
bool bSplitComponents,
bool bSetInternalFromMaterialIndex
)
Remarks
Appends a static mesh to a GeometryCollectionComponent.
Parameters
| Name | Description |
|---|---|
| StaticMeshComponent | : Const mesh to read vertex/normals/index data from |
| StaticMeshTransform | : Mesh transform. |
| GeometryCollection | : Collection to append the mesh into. |