|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
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 |
Mesh merging settings.
| bool GetbBakeVertexDataToMesh | ( | ) | const |
Whether or not vertex data such as vertex colours should be baked into the resulting mesh.
| bool GetbComputedLightMapResolution | ( | ) | const |
Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components.
| bool GetbGenerateLightMapUV | ( | ) | const |
Whether to generate lightmap UVs for a merged mesh.
| bool GetbIncludeImposters | ( | ) | const |
Whether or not to include any imposter LODs that are part of the source static meshes.
| bool GetbMergeMaterials | ( | ) | const |
Whether to merge source materials into one flat material, ONLY available when LOD Selection Type is set to LowestDetailLOD.
| bool GetbMergeMeshSockets | ( | ) | const |
Whether to merge sockets.
| bool GetbMergePhysicsData | ( | ) | const |
Whether to merge physics data (collision primitives).
| bool GetbPivotPointAtZero | ( | ) | const |
Whether merged mesh should have pivot at world origin, or at first merged component otherwise.
| 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.
| bool GetbUseLandscapeCulling | ( | ) | const |
Whether or not to use available landscape geometry to cull away invisible triangles.
| bool GetbUseTextureBinning | ( | ) | const |
Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture.
| bool GetbUseVertexDataForBakingMaterial | ( | ) | const |
Whether or not vertex data such as vertex colours should be used when baking out materials.
| FMeshMergingSettings & opAssign | ( | FMeshMergingSettings | Other | ) |
| 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.
| void SetbBakeVertexDataToMesh | ( | bool | Value | ) |
Whether or not vertex data such as vertex colours should be baked into the resulting mesh.
| void SetbComputedLightMapResolution | ( | bool | Value | ) |
Whether or not the lightmap resolution should be computed by summing the lightmap resolutions for the input Mesh Components.
| void SetbGenerateLightMapUV | ( | bool | Value | ) |
Whether to generate lightmap UVs for a merged mesh.
| void SetbIncludeImposters | ( | bool | Value | ) |
Whether or not to include any imposter LODs that are part of the source static meshes.
| 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.
| void SetbMergeMaterials | ( | bool | Value | ) |
Whether to merge source materials into one flat material, ONLY available when LOD Selection Type is set to LowestDetailLOD.
| void SetbMergeMeshSockets | ( | bool | Value | ) |
Whether to merge sockets.
| void SetbMergePhysicsData | ( | bool | Value | ) |
Whether to merge physics data (collision primitives).
| void SetbPivotPointAtZero | ( | bool | Value | ) |
Whether merged mesh should have pivot at world origin, or at first merged component otherwise.
| 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 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 SetbUseLandscapeCulling | ( | bool | Value | ) |
Whether or not to use available landscape geometry to cull away invisible triangles.
| void SetbUseTextureBinning | ( | bool | Value | ) |
Whether or not to calculate varying output texture sizes according to their importance in the final atlas texture.
| void SetbUseVertexDataForBakingMaterial | ( | bool | Value | ) |
Whether or not vertex data such as vertex colours should be used when baking out materials.
| bool bBakeVertexDataToMesh |
| bool bComputedLightMapResolution |
| bool bGenerateLightMapUV |
| bool bIncludeImposters |
| bool bMergeMaterials |
| bool bMergeMeshSockets |
| bool bMergePhysicsData |
| bool bPivotPointAtZero |
| bool bSupportRayTracing |
| bool bUseLandscapeCulling |
| bool bUseTextureBinning |
| bool bUseVertexDataForBakingMaterial |
| int GutterSize |
The gutter (in texels) to add to each sub-chart for our baked-out material for the top mip level.
| EMeshLODSelectionType LODSelectionType |
Which selection mode should be used when generating the merged static mesh.
| FMaterialProxySettings MaterialSettings |
Material simplification.
| FMeshNaniteSettings NaniteSettings |
Settings related to building Nanite data.
| 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).
| int SpecificLOD |
A given LOD level to export from the source meshes, used if LOD Selection Type is set to SpecificLOD.
| int TargetLightMapResolution |
The lightmap resolution used both for generating lightmap UV coordinates, and also set on the generated static mesh.