Module |
|
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
(
const UStaticMesh * StaticMesh,
const UStaticMeshComponent * StaticMeshComponent,
const FTransform & StaticMeshTransform,
UGeometryCollection * GeometryCollection,
bool ReindexMaterials
)
Appends a static mesh to a GeometryCollectionComponent.
Parameter |
Description |
---|---|
StaticMeshComponent |
: Const mesh to read vertex/normals/index data from |
StaticMeshTransform |
: Mesh transform. |
GeometryCollection |
: Collection to append the mesh into. |