UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMeshInstancingSettings Struct Reference

#include <MeshInstancingSettings.h>

Public Member Functions

ENGINE_API FMeshInstancingSettings ()
 

Public Attributes

TSubclassOf< AActorActorClassToUse
 
int32 InstanceReplacementThreshold
 
bool bSkipMeshesWithVertexColors
 
bool bUseHLODVolumes
 
TSubclassOf< UInstancedStaticMeshComponentISMComponentToUse
 

Detailed Description

Mesh instance-replacement settings

Constructor & Destructor Documentation

◆ FMeshInstancingSettings()

FMeshInstancingSettings::FMeshInstancingSettings ( )

Member Data Documentation

◆ ActorClassToUse

TSubclassOf<AActor> FMeshInstancingSettings::ActorClassToUse

The actor class to attach new instance static mesh components to

◆ bSkipMeshesWithVertexColors

bool FMeshInstancingSettings::bSkipMeshesWithVertexColors

Whether to skip the conversion to an instanced static mesh for meshes with vertex colors. Instanced static meshes do not support vertex colors per-instance, so conversion will lose this data.

◆ bUseHLODVolumes

bool FMeshInstancingSettings::bUseHLODVolumes

Whether split up instanced static mesh components based on their intersection with HLOD volumes

◆ InstanceReplacementThreshold

int32 FMeshInstancingSettings::InstanceReplacementThreshold

The number of static mesh instances needed before a mesh is replaced with an instanced version

◆ ISMComponentToUse

TSubclassOf<UInstancedStaticMeshComponent> FMeshInstancingSettings::ISMComponentToUse

Whether to use the Instanced Static Mesh Compoment or the Hierarchical Instanced Static Mesh Compoment


The documentation for this struct was generated from the following files: