|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Settings used to reduce a mesh. More...
Public Member Functions | |
Functions | |
| bool | GetbKeepSymmetry () const |
| bool | GetbRecalculateNormals () const |
| void | SetbRecalculateNormals (bool Value) |
| bool | GetbGenerateUniqueLightmapUVs () const |
| void | SetbGenerateUniqueLightmapUVs (bool Value) |
| FMeshReductionSettings & | opAssign (FMeshReductionSettings Other) |
| void | SetbKeepSymmetry (bool Value) |
| bool | GetbVisibilityAided () const |
| void | SetbVisibilityAided (bool Value) |
| bool | GetbCullOccluded () const |
| void | SetbCullOccluded (bool Value) |
Public Attributes | |
ReductionMethod | |
| uint | MaxNumOfTriangles |
| The maximum number of triangles to retain when using percentage termination criterion. (Triangles criterion properties). | |
| uint | MaxNumOfVerts |
| The maximum number of vertices to retain when using percentage termination criterion. (Vertices criterion properties). | |
ReductionSettings | |
| float32 | PercentVertices |
| Percentage of vertices to keep. 1.0 = no reduction, 0.0 = no vertices. (Vertices criterion properties). | |
| EMeshFeatureImportance | TextureImportance |
| Higher values reduce texture stretching. | |
| float32 | MaxDeviation |
| The maximum distance in object space by which the reduced mesh may deviate from the original mesh. | |
| float32 | PixelError |
| The amount of error in pixels allowed for this LOD. | |
| float32 | WeldingThreshold |
| Threshold in object space at which vertices are welded together. | |
| float32 | HardAngleThreshold |
| Angle at which a hard edge is introduced between faces. | |
| int | BaseLODModel |
| EMeshFeatureImportance | SilhouetteImportance |
| Higher values minimize change to border edges. | |
| float32 | PercentTriangles |
| Percentage of triangles to keep. 1.0 = no reduction, 0.0 = no triangles. (Triangles criterion properties). | |
| EMeshFeatureImportance | ShadingImportance |
| Higher values try to preserve normals better. | |
| EStaticMeshReductionTerimationCriterion | TerminationCriterion |
| The method to use when optimizing static mesh LODs. | |
| EMeshFeatureImportance | VisibilityAggressiveness |
| Higher values generates fewer samples. | |
| EMeshFeatureImportance | VertexColorImportance |
| Higher values minimize change to vertex color data. | |
Variables | |
| bool | bGenerateUniqueLightmapUVs |
| bool | bKeepSymmetry |
| bool | bVisibilityAided |
| bool | bCullOccluded |
| bool | bRecalculateNormals |
Settings used to reduce a mesh.
| bool GetbCullOccluded | ( | ) | const |
| bool GetbGenerateUniqueLightmapUVs | ( | ) | const |
| bool GetbKeepSymmetry | ( | ) | const |
| bool GetbRecalculateNormals | ( | ) | const |
| bool GetbVisibilityAided | ( | ) | const |
| FMeshReductionSettings & opAssign | ( | FMeshReductionSettings | Other | ) |
| void SetbCullOccluded | ( | bool | Value | ) |
| void SetbGenerateUniqueLightmapUVs | ( | bool | Value | ) |
| void SetbKeepSymmetry | ( | bool | Value | ) |
| void SetbRecalculateNormals | ( | bool | Value | ) |
| void SetbVisibilityAided | ( | bool | Value | ) |
| int BaseLODModel |
| bool bCullOccluded |
| bool bGenerateUniqueLightmapUVs |
| bool bKeepSymmetry |
| bool bRecalculateNormals |
| bool bVisibilityAided |
| float32 HardAngleThreshold |
Angle at which a hard edge is introduced between faces.
| float32 MaxDeviation |
The maximum distance in object space by which the reduced mesh may deviate from the original mesh.
| uint MaxNumOfTriangles |
The maximum number of triangles to retain when using percentage termination criterion. (Triangles criterion properties).
| uint MaxNumOfVerts |
The maximum number of vertices to retain when using percentage termination criterion. (Vertices criterion properties).
| float32 PercentTriangles |
Percentage of triangles to keep. 1.0 = no reduction, 0.0 = no triangles. (Triangles criterion properties).
| float32 PercentVertices |
Percentage of vertices to keep. 1.0 = no reduction, 0.0 = no vertices. (Vertices criterion properties).
| float32 PixelError |
The amount of error in pixels allowed for this LOD.
| EMeshFeatureImportance ShadingImportance |
Higher values try to preserve normals better.
| EMeshFeatureImportance SilhouetteImportance |
Higher values minimize change to border edges.
| EStaticMeshReductionTerimationCriterion TerminationCriterion |
The method to use when optimizing static mesh LODs.
| EMeshFeatureImportance TextureImportance |
Higher values reduce texture stretching.
| EMeshFeatureImportance VertexColorImportance |
Higher values minimize change to vertex color data.
| EMeshFeatureImportance VisibilityAggressiveness |
Higher values generates fewer samples.
| float32 WeldingThreshold |
Threshold in object space at which vertices are welded together.