Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMesh
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void BatchBuild
(
const TArray< UStaticMesh* >& InStaticMeshes, |
Rebuilds renderable data for a batch of static meshes. | Engine/StaticMesh.h | |
static void BatchBuild
(
const TArray< UStaticMesh* >& InStaticMeshes, |
Rebuilds renderable data for a batch of static meshes. | Engine/StaticMesh.h |
BatchBuild(const TArray< UStaticMesh > &, const FBuildParameters &, TFunction< bool(UStaticMesh )>)
Description
Rebuilds renderable data for a batch of static meshes.
| Name | BatchBuild |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
| Include Path | #include "Engine/StaticMesh.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMeshBuild.cpp |
static void BatchBuild
(
const TArray < UStaticMesh * > & InStaticMeshes,
const FBuildParameters & BuildParameters,
TFunction < bool *)> InProgressCallback
)
Parameters
| Name | Remarks |
|---|---|
| InStaticMeshes | The list of all static meshes to build. |
| BuildParameters | Contains all the parameters required to build the mesh. |
| InProgressCallback | If provided, will be used to abort task and report progress to higher level functions (should return true to continue, false to abort). |
BatchBuild(const TArray< UStaticMesh > &, bool, TFunction< bool(UStaticMesh )>, TArray< FText > *)
Description
Rebuilds renderable data for a batch of static meshes.
| Name | BatchBuild |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
| Include Path | #include "Engine/StaticMesh.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMeshBuild.cpp |
static void BatchBuild
(
const TArray < UStaticMesh * > & InStaticMeshes,
bool bInSilent,
TFunction < bool *)> InProgressCallback,
TArray < FText > * OutErrors
)
Parameters
| Name | Remarks |
|---|---|
| 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. This will prevent async static mesh compilation because OutErrors could get out of scope. |