FGeometryCollectionConversion::AppendStaticMesh

Appends a static mesh to a GeometryCollectionComponent.

Windows
MacOS
Linux

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

Syntax

static void AppendStaticMesh
(
    const UStaticMesh * StaticMesh,
    const UStaticMeshComponent * StaticMeshComponent,
    const FTransform & StaticMeshTransform,
    UGeometryCollection * GeometryCollection,
    bool ReindexMaterials
)

Remarks

Appends a static mesh to a GeometryCollectionComponent.

Parameters

Parameter

Description

StaticMeshComponent

: Const mesh to read vertex/normals/index data from

StaticMeshTransform

: Mesh transform.

GeometryCollection

: Collection to append the mesh into.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss