Skip to content

Simplification Options #55

Answered by Whinarn
mattpow35 asked this question in Q&A
Aug 19, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

The SimplificationOptions is a struct that can be changed through the SimplificationOptions property of the MeshSimplifier class (see list of properties here). Or you can use them as an input for the LOD Generator API.

You can create the struct very easily, with your desired properties like this:

var simplificationOptions = new SimplificationOptions
{
    PreserveBorderEdges = false,
    PreserveUVSeamEdges = false,
    PreserveUVFoldoverEdges = false,
    PreserveSurfaceCurvature = false,
    EnableSmartLink = true,
    VertexLinkDistance = double.Epsilon,
    MaxIterationCount = 100,
    Agressiveness = 7.0,
    ManualUVComponentCount = false,
    UVComponentCount = 2
};

var meshSimpli…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mattpow35
Comment options

@Mrchs
Comment options

Answer selected by Whinarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants