IMeshUtilities::CreateProxyMesh

Creates a (proxy)-mesh combining the static mesh components from the given list of actors (at the moment this requires having Simplygon)

Windows
MacOS
Linux

References

Module

MeshUtilities

Header

/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h

Include

#include "MeshUtilities.h"

Syntax

void CreateProxyMesh
(
    const TArray< class AActor * > & InActors,
    const struct FMeshProxySettings & InMeshProxySettings,
    UPackage * InOuter,
    const FString & InProxyBasePackageName,
    const FGuid InGuid,
    FCreateProxyDelegate InProxyCreatedDelegate,
    const bool bAllowAsync,
    const float ScreenAreaSize
)

Remarks

Creates a (proxy)-mesh combining the static mesh components from the given list of actors (at the moment this requires having Simplygon)

Parameters

Parameter

Description

InActors

List of Actors to merge

InMeshProxySettings

Merge settings

InOuter

Package for a generated assets, if NULL new packages will be created for each asset

InProxyBasePackageName

Will be used for naming generated assets, in case InOuter is not specified ProxyBasePackageName will be used as long package name for creating new packages

InGuid

Guid identifying the data used for this proxy job

InProxyCreatedDelegate

Delegate callback for when the proxy is finished

bAllowAsync

Flag whether or not this call could be run async (SimplygonSwarm)

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