Options for mesh simplification. More...
Public Attributes | |
| bool | PreserveBorderEdges |
| If the border edges should be preserved. | |
| bool | PreserveUVSeamEdges |
| If the UV seam edges should be preserved. | |
| bool | PreserveUVFoldoverEdges |
| If the UV foldover edges should be preserved. | |
| bool | EnableSmartLink |
| If a feature for smarter vertex linking should be enabled, reducing artifacts in the decimated result at the cost of a slightly more expensive initialization by treating vertices at the same position as the same vertex while separating the attributes. | |
| double | VertexLinkDistance |
| The maximum distance between two vertices in order to link them. | |
| int | MaxIterationCount |
| The maximum iteration count. | |
| double | Agressiveness |
| The agressiveness of the mesh simplification. | |
Static Public Attributes | |
| static readonly SimplificationOptions | Default |
| The default simplification options. | |
Detailed Description
Options for mesh simplification.
Member Data Documentation
◆ Agressiveness
| double realvirtual.SimplificationOptions.Agressiveness |
The agressiveness of the mesh simplification.
Higher number equals higher quality, but more expensive to run. Default value: 7.0
◆ Default
|
static |
The default simplification options.
◆ EnableSmartLink
| bool realvirtual.SimplificationOptions.EnableSmartLink |
If a feature for smarter vertex linking should be enabled, reducing artifacts in the decimated result at the cost of a slightly more expensive initialization by treating vertices at the same position as the same vertex while separating the attributes.
Default value: true
◆ MaxIterationCount
| int realvirtual.SimplificationOptions.MaxIterationCount |
The maximum iteration count.
Higher number is more expensive but can bring you closer to your target quality. Sometimes a lower maximum count might be desired in order to lower the performance cost. Default value: 100
◆ PreserveBorderEdges
| bool realvirtual.SimplificationOptions.PreserveBorderEdges |
If the border edges should be preserved.
Default value: false
◆ PreserveUVFoldoverEdges
| bool realvirtual.SimplificationOptions.PreserveUVFoldoverEdges |
If the UV foldover edges should be preserved.
Default value: false
◆ PreserveUVSeamEdges
| bool realvirtual.SimplificationOptions.PreserveUVSeamEdges |
If the UV seam edges should be preserved.
Default value: false
◆ VertexLinkDistance
| double realvirtual.SimplificationOptions.VertexLinkDistance |
The maximum distance between two vertices in order to link them.
Note that this value is only used if EnableSmartLink is true. Default value: double.Epsilon