|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| void | SetbUseLandscapeCulling (bool Value) |
| Whether or not to use available landscape geometry to cull away invisible triangles. | |
| bool | GetbCalculateCorrectLODModel () const |
| Determines whether or not the correct LOD models should be calculated given the source meshes and transition size. | |
| void | SetbCalculateCorrectLODModel (bool Value) |
| Determines whether or not the correct LOD models should be calculated given the source meshes and transition size. | |
| bool | GetbOverrideVoxelSize () const |
| If true, Spatial Sampling Distance will not be automatically computed based on geometry and you must set it directly. | |
| void | SetbOverrideVoxelSize (bool Value) |
| If true, Spatial Sampling Distance will not be automatically computed based on geometry and you must set it directly. | |
| bool | GetbOverrideTransferDistance () const |
| Enable an override for material transfer distance. | |
| void | SetbOverrideTransferDistance (bool Value) |
| Enable an override for material transfer distance. | |
| bool | GetbUseHardAngleThreshold () const |
| Enable the use of hard angle based vertex splitting. | |
| void | SetbUseHardAngleThreshold (bool Value) |
| Enable the use of hard angle based vertex splitting. | |
| bool | GetbComputeLightMapResolution () const |
| If ticked will compute the lightmap resolution by summing the dimensions for each mesh included for merging. | |
| void | SetbComputeLightMapResolution (bool Value) |
| If ticked will compute the lightmap resolution by summing the dimensions for each mesh included for merging. | |
| bool | GetbRecalculateNormals () const |
| Whether Simplygon should recalculate normals, otherwise the normals channel will be sampled from the original mesh. | |
| void | SetbRecalculateNormals (bool Value) |
| Whether Simplygon should recalculate normals, otherwise the normals channel will be sampled from the original mesh. | |
| bool | GetbUseLandscapeCulling () const |
| Whether or not to use available landscape geometry to cull away invisible triangles. | |
| FMeshProxySettings & | opAssign (FMeshProxySettings Other) |
| 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. | |
| bool | GetbAllowDistanceField () const |
| 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 | 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. | |
| bool | GetbReuseMeshLightmapUVs () const |
| Whether to attempt to re-use the source mesh's lightmap UVs when baking the material or always generate a new set. | |
| 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. | |
| bool | GetbGroupIdenticalMeshesForBaking () const |
| Bake identical meshes (or mesh instances) only once. Can lead to discrepancies with the source mesh visual, especially for materials that are using world position or per instance data. However, this will result in better quality baked textures & greatly reduce baking time. | |
| void | SetbGroupIdenticalMeshesForBaking (bool Value) |
| Bake identical meshes (or mesh instances) only once. Can lead to discrepancies with the source mesh visual, especially for materials that are using world position or per instance data. However, this will result in better quality baked textures & greatly reduce baking time. | |
| bool | GetbCreateCollision () const |
| Whether to generate collision for the merged mesh. | |
| void | SetbCreateCollision (bool Value) |
| Whether to generate collision for the merged mesh. | |
| bool | GetbAllowVertexColors () const |
| Whether to allow vertex colors saved in the merged mesh. | |
| void | SetbAllowVertexColors (bool Value) |
| Whether to allow vertex colors saved in the merged mesh. | |
| bool | GetbGenerateLightmapUVs () const |
| Whether to generate lightmap uvs for the merged mesh. | |
| void | SetbGenerateLightmapUVs (bool Value) |
| Whether to generate lightmap uvs for the merged mesh. | |
Public Attributes | |
LandscapeCulling | |
| ELandscapeCullingPrecision | LandscapeCullingPrecision |
| Level of detail of the landscape that should be used for the culling. | |
NaniteSettings | |
| FMeshNaniteSettings | NaniteSettings |
| Settings related to building Nanite data. | |
ProxySettings | |
| float32 | MergeDistance |
| Distance at which meshes should be merged together, this can close gaps like doors and windows in distant geometry. | |
| FMaterialProxySettings | MaterialSettings |
| Material simplification. | |
| float32 | VoxelSize |
| Override when converting multiple meshes for proxy LOD merging. Warning, large geometry with small sampling has very high memory costs. | |
| FColor | UnresolvedGeometryColor |
| Base color assigned to LOD geometry that can't be associated with the source geometry: e.g. doors and windows that have been closed by the Merge Distance. | |
| int | ScreenSize |
| Screen size of the resulting proxy mesh in pixels. | |
| int | LightMapResolution |
| Lightmap resolution. | |
| EProxyNormalComputationMethod | NormalCalculationMethod |
| Controls the method used to calculate the normal for the simplified geometry. | |
| float32 | MaxRayCastDist |
| Override search distance used when discovering texture values for simplified geometry. Useful when non-zero Merge Distance setting generates new geometry in concave corners. | |
| float32 | HardAngleThreshold |
| Angle at which a hard edge is introduced between faces. | |
Variables | |
| bool | bCalculateCorrectLODModel |
| bool | bOverrideVoxelSize |
| bool | bOverrideTransferDistance |
| bool | bUseHardAngleThreshold |
| bool | bComputeLightMapResolution |
| bool | bRecalculateNormals |
| bool | bUseLandscapeCulling |
| bool | bSupportRayTracing |
| bool | bAllowDistanceField |
| bool | bReuseMeshLightmapUVs |
| bool | bGroupIdenticalMeshesForBaking |
| bool | bCreateCollision |
| bool | bAllowVertexColors |
| bool | bGenerateLightmapUVs |
| bool GetbAllowDistanceField | ( | ) | const |
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.
| bool GetbAllowVertexColors | ( | ) | const |
Whether to allow vertex colors saved in the merged mesh.
| bool GetbCalculateCorrectLODModel | ( | ) | const |
Determines whether or not the correct LOD models should be calculated given the source meshes and transition size.
| bool GetbComputeLightMapResolution | ( | ) | const |
If ticked will compute the lightmap resolution by summing the dimensions for each mesh included for merging.
| bool GetbCreateCollision | ( | ) | const |
Whether to generate collision for the merged mesh.
| bool GetbGenerateLightmapUVs | ( | ) | const |
Whether to generate lightmap uvs for the merged mesh.
| bool GetbGroupIdenticalMeshesForBaking | ( | ) | const |
Bake identical meshes (or mesh instances) only once. Can lead to discrepancies with the source mesh visual, especially for materials that are using world position or per instance data. However, this will result in better quality baked textures & greatly reduce baking time.
| bool GetbOverrideTransferDistance | ( | ) | const |
Enable an override for material transfer distance.
| bool GetbOverrideVoxelSize | ( | ) | const |
If true, Spatial Sampling Distance will not be automatically computed based on geometry and you must set it directly.
| bool GetbRecalculateNormals | ( | ) | const |
Whether Simplygon should recalculate normals, otherwise the normals channel will be sampled from the original mesh.
| bool GetbReuseMeshLightmapUVs | ( | ) | const |
Whether to attempt to re-use the source mesh's lightmap UVs when baking the material or always generate a new set.
| 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 GetbUseHardAngleThreshold | ( | ) | const |
Enable the use of hard angle based vertex splitting.
| bool GetbUseLandscapeCulling | ( | ) | const |
Whether or not to use available landscape geometry to cull away invisible triangles.
| FMeshProxySettings & opAssign | ( | FMeshProxySettings | 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 SetbAllowVertexColors | ( | bool | Value | ) |
Whether to allow vertex colors saved in the merged mesh.
| void SetbCalculateCorrectLODModel | ( | bool | Value | ) |
Determines whether or not the correct LOD models should be calculated given the source meshes and transition size.
| void SetbComputeLightMapResolution | ( | bool | Value | ) |
If ticked will compute the lightmap resolution by summing the dimensions for each mesh included for merging.
| void SetbCreateCollision | ( | bool | Value | ) |
Whether to generate collision for the merged mesh.
| void SetbGenerateLightmapUVs | ( | bool | Value | ) |
Whether to generate lightmap uvs for the merged mesh.
| void SetbGroupIdenticalMeshesForBaking | ( | bool | Value | ) |
Bake identical meshes (or mesh instances) only once. Can lead to discrepancies with the source mesh visual, especially for materials that are using world position or per instance data. However, this will result in better quality baked textures & greatly reduce baking time.
| void SetbOverrideTransferDistance | ( | bool | Value | ) |
Enable an override for material transfer distance.
| void SetbOverrideVoxelSize | ( | bool | Value | ) |
If true, Spatial Sampling Distance will not be automatically computed based on geometry and you must set it directly.
| void SetbRecalculateNormals | ( | bool | Value | ) |
Whether Simplygon should recalculate normals, otherwise the normals channel will be sampled from the original mesh.
| 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 SetbUseHardAngleThreshold | ( | bool | Value | ) |
Enable the use of hard angle based vertex splitting.
| void SetbUseLandscapeCulling | ( | bool | Value | ) |
Whether or not to use available landscape geometry to cull away invisible triangles.
| bool bAllowDistanceField |
| bool bAllowVertexColors |
| bool bCalculateCorrectLODModel |
| bool bComputeLightMapResolution |
| bool bCreateCollision |
| bool bGenerateLightmapUVs |
| bool bGroupIdenticalMeshesForBaking |
| bool bOverrideTransferDistance |
| bool bOverrideVoxelSize |
| bool bRecalculateNormals |
| bool bReuseMeshLightmapUVs |
| bool bSupportRayTracing |
| bool bUseHardAngleThreshold |
| bool bUseLandscapeCulling |
| float32 HardAngleThreshold |
Angle at which a hard edge is introduced between faces.
| ELandscapeCullingPrecision LandscapeCullingPrecision |
Level of detail of the landscape that should be used for the culling.
| int LightMapResolution |
Lightmap resolution.
| FMaterialProxySettings MaterialSettings |
Material simplification.
| float32 MaxRayCastDist |
Override search distance used when discovering texture values for simplified geometry. Useful when non-zero Merge Distance setting generates new geometry in concave corners.
| float32 MergeDistance |
Distance at which meshes should be merged together, this can close gaps like doors and windows in distant geometry.
| FMeshNaniteSettings NaniteSettings |
Settings related to building Nanite data.
| EProxyNormalComputationMethod NormalCalculationMethod |
Controls the method used to calculate the normal for the simplified geometry.
| int ScreenSize |
Screen size of the resulting proxy mesh in pixels.
| FColor UnresolvedGeometryColor |
Base color assigned to LOD geometry that can't be associated with the source geometry: e.g. doors and windows that have been closed by the Merge Distance.
| float32 VoxelSize |
Override when converting multiple meshes for proxy LOD merging. Warning, large geometry with small sampling has very high memory costs.