Navigation
Unreal Engine C++ API Reference > Plugins > GeometryCollectionEditor > GeometryCollection > FGeometryCollectionConversion > AppendStaticMesh
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 AppendStaticMesh
&40;
const UStaticMesh &42; StaticMesh,
const TArray< UMaterialInterface &42; > & Materials,
const FTransform & StaticMeshTransform,
UGeometryCollection &42; GeometryCollectionObject,
bool ReindexMaterials
&41;
Remarks
Appends a static mesh to a GeometryCollectionComponent.
Parameters
Name | Description |
---|---|
StaticMesh | : Const mesh to read vertex/normals/index data from |
Materials | : Materials fetched from the StaticMeshComponent used to configure this geometry |
StaticMeshTransform | : Mesh transform. |
GeometryCollection | : Collection to append the mesh into. |