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

Mesh merging settings. More...

Public Member Functions

Functions
void SetbBakeVertexDataToMesh (bool Value)
 Whether or not vertex data such as vertex colours should be baked into the resulting mesh.
bool GetbGenerateLightMapUV () const
 Whether to generate lightmap UVs for a merged mesh.
void SetbGenerateLightMapUV (bool Value)
 Whether to generate lightmap UVs for a merged mesh.
bool GetbComputedLightMapResolution () const
 Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components.
void SetbComputedLightMapResolution (bool Value)
 Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components.
bool GetbPivotPointAtZero () const
 Whether merged mesh should have pivot at world origin, or at first merged component otherwise.
void SetbPivotPointAtZero (bool Value)
 Whether merged mesh should have pivot at world origin, or at first merged component otherwise.
bool GetbMergePhysicsData () const
 Whether to merge physics data (collision primitives).
void SetbMergePhysicsData (bool Value)
 Whether to merge physics data (collision primitives).
bool GetbMergeMeshSockets () const
 Whether to merge sockets.
void SetbMergeMeshSockets (bool Value)
 Whether to merge sockets.
bool GetbMergeMaterials () const
 Whether to merge source materials into one flat material, ONLY available when LOD Selection Type is set to LowestDetailLOD.
void SetbMergeMaterials (bool Value)
 Whether to merge source materials into one flat material, ONLY available when LOD Selection Type is set to LowestDetailLOD.
bool GetbBakeVertexDataToMesh () const
 Whether or not vertex data such as vertex colours should be baked into the resulting mesh.
FMeshMergingSettings & opAssign (FMeshMergingSettings Other)
bool GetbUseVertexDataForBakingMaterial () const
 Whether or not vertex data such as vertex colours should be used when baking out materials.
void SetbUseVertexDataForBakingMaterial (bool Value)
 Whether or not vertex data such as vertex colours should be used when baking out materials.
bool GetbUseTextureBinning () const
 Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture.
void SetbUseTextureBinning (bool Value)
 Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture.
void SetbReuseMeshLightmapUVs (bool Value)
 Whether to attempt to re-use the source mesh's lightmap UVs when baking the material or always generate a new set.
void SetbMergeEquivalentMaterials (bool Value)
 Whether to attempt to merge materials that are deemed equivalent. This can cause artifacts in the merged mesh if world position/actor position etc. is used to determine output color.
bool GetbUseLandscapeCulling () const
 Whether or not to use available landscape geometry to cull away invisible triangles.
void SetbUseLandscapeCulling (bool Value)
 Whether or not to use available landscape geometry to cull away invisible triangles.
bool GetbIncludeImposters () const
 Whether or not to include any imposter LODs that are part of the source static meshes.
void SetbIncludeImposters (bool Value)
 Whether or not to include any imposter LODs that are part of the source static meshes.
bool GetbSupportRayTracing () const
 Whether ray tracing will be supported on this mesh. Disable this to save memory if the generated mesh will only be rendered in the distance.
void SetbSupportRayTracing (bool Value)
 Whether ray tracing will be supported on this mesh. Disable this to save memory if the generated mesh will only be rendered in the distance.
void SetbAllowDistanceField (bool Value)
 Whether to allow distance field to be computed for this mesh. Disable this to save memory if the merged mesh will only be rendered in the distance.

Public Attributes

MaterialSettings
FMaterialProxySettings MaterialSettings
 Material simplification.
int GutterSize
 The gutter (in texels) to add to each sub-chart for our baked-out material for the top mip level.
MeshSettings
EUVOutput OutputUVs
 Whether to output the specified UV channels into the merged mesh (only if the source meshes contain valid UVs for the specified channel).
EMeshLODSelectionType LODSelectionType
 Which selection mode should be used when generating the merged static mesh.
int TargetLightMapResolution
 The lightmap resolution used both for generating lightmap UV coordinates, and also set on the generated static mesh.
int SpecificLOD
 A given LOD level to export from the source meshes, used if LOD Selection Type is set to SpecificLOD.
NaniteSettings
FMeshNaniteSettings NaniteSettings
 Settings related to building Nanite data.
Variables
bool bComputedLightMapResolution
bool bGenerateLightMapUV
bool bPivotPointAtZero
bool bMergePhysicsData
bool bMergeMeshSockets
bool bMergeMaterials
bool bBakeVertexDataToMesh
bool bUseVertexDataForBakingMaterial
bool bUseTextureBinning
bool bUseLandscapeCulling
bool bIncludeImposters
bool bSupportRayTracing

Detailed Description

Mesh merging settings.

Member Function Documentation

◆ GetbBakeVertexDataToMesh()

bool GetbBakeVertexDataToMesh ( ) const

Whether or not vertex data such as vertex colours should be baked into the resulting mesh.

◆ GetbComputedLightMapResolution()

bool GetbComputedLightMapResolution ( ) const

Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components.

◆ GetbGenerateLightMapUV()

bool GetbGenerateLightMapUV ( ) const

Whether to generate lightmap UVs for a merged mesh.

◆ GetbIncludeImposters()

bool GetbIncludeImposters ( ) const

Whether or not to include any imposter LODs that are part of the source static meshes.

◆ GetbMergeMaterials()

bool GetbMergeMaterials ( ) const

Whether to merge source materials into one flat material, ONLY available when LOD Selection Type is set to LowestDetailLOD.

◆ GetbMergeMeshSockets()

bool GetbMergeMeshSockets ( ) const

Whether to merge sockets.

◆ GetbMergePhysicsData()

bool GetbMergePhysicsData ( ) const

Whether to merge physics data (collision primitives).

◆ GetbPivotPointAtZero()

bool GetbPivotPointAtZero ( ) const

Whether merged mesh should have pivot at world origin, or at first merged component otherwise.

◆ GetbSupportRayTracing()

bool GetbSupportRayTracing ( ) const

Whether ray tracing will be supported on this mesh. Disable this to save memory if the generated mesh will only be rendered in the distance.

◆ GetbUseLandscapeCulling()

bool GetbUseLandscapeCulling ( ) const

Whether or not to use available landscape geometry to cull away invisible triangles.

◆ GetbUseTextureBinning()

bool GetbUseTextureBinning ( ) const

Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture.

◆ GetbUseVertexDataForBakingMaterial()

bool GetbUseVertexDataForBakingMaterial ( ) const

Whether or not vertex data such as vertex colours should be used when baking out materials.

◆ opAssign()

◆ SetbAllowDistanceField()

void SetbAllowDistanceField ( bool Value)

Whether to allow distance field to be computed for this mesh. Disable this to save memory if the merged mesh will only be rendered in the distance.

◆ SetbBakeVertexDataToMesh()

void SetbBakeVertexDataToMesh ( bool Value)

Whether or not vertex data such as vertex colours should be baked into the resulting mesh.

◆ SetbComputedLightMapResolution()

void SetbComputedLightMapResolution ( bool Value)

Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components.

◆ SetbGenerateLightMapUV()

void SetbGenerateLightMapUV ( bool Value)

Whether to generate lightmap UVs for a merged mesh.

◆ SetbIncludeImposters()

void SetbIncludeImposters ( bool Value)

Whether or not to include any imposter LODs that are part of the source static meshes.

◆ SetbMergeEquivalentMaterials()

void SetbMergeEquivalentMaterials ( bool Value)

Whether to attempt to merge materials that are deemed equivalent. This can cause artifacts in the merged mesh if world position/actor position etc. is used to determine output color.

◆ SetbMergeMaterials()

void SetbMergeMaterials ( bool Value)

Whether to merge source materials into one flat material, ONLY available when LOD Selection Type is set to LowestDetailLOD.

◆ SetbMergeMeshSockets()

void SetbMergeMeshSockets ( bool Value)

Whether to merge sockets.

◆ SetbMergePhysicsData()

void SetbMergePhysicsData ( bool Value)

Whether to merge physics data (collision primitives).

◆ SetbPivotPointAtZero()

void SetbPivotPointAtZero ( bool Value)

Whether merged mesh should have pivot at world origin, or at first merged component otherwise.

◆ SetbReuseMeshLightmapUVs()

void SetbReuseMeshLightmapUVs ( bool Value)

Whether to attempt to re-use the source mesh's lightmap UVs when baking the material or always generate a new set.

◆ SetbSupportRayTracing()

void SetbSupportRayTracing ( bool Value)

Whether ray tracing will be supported on this mesh. Disable this to save memory if the generated mesh will only be rendered in the distance.

◆ SetbUseLandscapeCulling()

void SetbUseLandscapeCulling ( bool Value)

Whether or not to use available landscape geometry to cull away invisible triangles.

◆ SetbUseTextureBinning()

void SetbUseTextureBinning ( bool Value)

Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture.

◆ SetbUseVertexDataForBakingMaterial()

void SetbUseVertexDataForBakingMaterial ( bool Value)

Whether or not vertex data such as vertex colours should be used when baking out materials.

Member Data Documentation

◆ bBakeVertexDataToMesh

bool bBakeVertexDataToMesh

◆ bComputedLightMapResolution

bool bComputedLightMapResolution

◆ bGenerateLightMapUV

bool bGenerateLightMapUV

◆ bIncludeImposters

bool bIncludeImposters

◆ bMergeMaterials

bool bMergeMaterials

◆ bMergeMeshSockets

bool bMergeMeshSockets

◆ bMergePhysicsData

bool bMergePhysicsData

◆ bPivotPointAtZero

bool bPivotPointAtZero

◆ bSupportRayTracing

bool bSupportRayTracing

◆ bUseLandscapeCulling

bool bUseLandscapeCulling

◆ bUseTextureBinning

bool bUseTextureBinning

◆ bUseVertexDataForBakingMaterial

bool bUseVertexDataForBakingMaterial

◆ GutterSize

int GutterSize

The gutter (in texels) to add to each sub-chart for our baked-out material for the top mip level.

◆ LODSelectionType

EMeshLODSelectionType LODSelectionType

Which selection mode should be used when generating the merged static mesh.

◆ MaterialSettings

FMaterialProxySettings MaterialSettings

Material simplification.

◆ NaniteSettings

FMeshNaniteSettings NaniteSettings

Settings related to building Nanite data.

◆ OutputUVs

EUVOutput OutputUVs

Whether to output the specified UV channels into the merged mesh (only if the source meshes contain valid UVs for the specified channel).

◆ SpecificLOD

int SpecificLOD

A given LOD level to export from the source meshes, used if LOD Selection Type is set to SpecificLOD.

◆ TargetLightMapResolution

int TargetLightMapResolution

The lightmap resolution used both for generating lightmap UV coordinates, and also set on the generated static mesh.