UStaticMesh::BatchBuild

Rebuilds renderable data for a batch of static meshes.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h

Include

#include "Engine/StaticMesh.h"

Source

/Engine/Source/Runtime/Engine/Private/StaticMeshBuild.cpp

Syntax

static void BatchBuild
(
    const TArray< UStaticMesh * > & InStaticMeshes,
    bool bInSilent,
    TFunction< bool *)> InProgressCallback,
    TArray< FText > * OutErrors
)

Remarks

Rebuilds renderable data for a batch of static meshes.

Parameters

Parameter

Description

InStaticMeshes

The list of all static meshes to build.

bInSilent

If true will not popup a progress dialog.

InProgressCallback

If provided, will be used to abort task and report progress to higher level functions (should return true to continue, false to abort).

OutErrors

If provided, will contain the errors that occurred during this process.

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