G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FMeshInstancingSettings Struct Reference

Mesh instance-replacement settings. More...

Public Member Functions

Functions
FMeshInstancingSettings & opAssign (FMeshInstancingSettings Other)

Public Attributes

Instancing
int InstanceReplacementThreshold
 The number of static mesh instances needed before a mesh is replaced with an instanced version.
bool 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.
bool bUseHLODVolumes
 Whether split up instanced static mesh components based on their intersection with HLOD volumes.
TSubclassOf< UInstancedStaticMeshComponent > ISMComponentToUse
 Whether to use the Instanced Static Mesh Compoment or the Hierarchical Instanced Static Mesh Compoment.
TSubclassOf< AActor > ActorClassToUse
 The actor class to attach new instance static mesh components to.

Detailed Description

Mesh instance-replacement settings.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ ActorClassToUse

TSubclassOf<AActor> ActorClassToUse

The actor class to attach new instance static mesh components to.

◆ bSkipMeshesWithVertexColors

bool 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 bUseHLODVolumes

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

◆ InstanceReplacementThreshold

int InstanceReplacementThreshold

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

◆ ISMComponentToUse

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