Vixen
dd8b0a81
csharp
public sealed class ModelImportEdits

The editable mirror of ModelImportSettings.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (27)

  • public List<SubAssetRename> SubAssetNames

    What each of the model's parts should be called instead of what the file calls it.

  • public float Scale

    What to multiply every length by.

  • public bool GenerateNormals

    Whether to compute normals for meshes that have none.

  • public bool GenerateTangents

    Whether to compute tangents for meshes that have UVs and no tangents.

  • public bool ImportAnimations

    Whether to import the animation clips the file carries.

  • public bool ImportBlendShapes

    Whether to import the blend shapes the file carries.

  • public float BlendShapeThreshold

    How far a vertex must move to be kept in a blend shape, in the model's own units.

  • public bool GenerateDistanceFields

    Whether to bake a signed distance field for each of the model's meshes.

  • public int DistanceFieldResolution

    How many samples along the longest axis of each field.

  • public int DistanceFieldSignRays

    How many rays each sample casts to decide which side of the surface it is on.

  • public float DistanceFieldBoundsExpansion

    How far a field's volume is grown past its mesh, as a fraction of the mesh's size.

  • public bool GenerateMeshlets

    Whether to build a cluster hierarchy for each of the model's meshes.

  • public int MeshletTriangles

    The most triangles one cluster may hold.

  • public int MeshletVertices

    The most distinct vertices one cluster may reference.

  • public int MeshletGroupSize

    How many clusters are simplified together as a group.

  • public int MeshletFallbackTriangles

    How many triangles the generated fallback mesh may have.

  • public bool Retopologize

    Whether every mesh in the model is retopologised into quads on the way in.

  • public int RetopologyQuads

    How many quads to aim for per mesh.

  • public float RetopologyAdaptivity

    Zero for uniform squares, one to let curvature decide the density.

  • public float RetopologyFeatureAngle

    The angle, in degrees, above which a shared edge is a hard feature.

  • public bool RetopologyKeepUvSeams

    Whether the source's coordinate seams are features the retopology keeps.

  • public SymmetryAxis RetopologySymmetry

    Which axis plane through the origin to mirror across.

  • public List<RetopologyGuideReference> RetopologyGuides

    Guide curves the retopology's edge flow should follow.

  • public UnwrapMode Unwrap

    When to generate texture coordinates for the model's meshes.

  • public int UnwrapResolution

    The atlas resolution the unwrap packs for.

  • public int UnwrapMargin

    How many texels of empty space each island keeps around it.

  • public float UnwrapTexelDensity

    Texels per world unit to hold across every chart, or zero to fill the atlas instead.

Used by (5)

  • Describes_Vixen_Editor_AssetEditors_Importing_ModelImportEditsVixen.Editor.AssetEditors
  • ImportSettingsMirrorTestsVixen.Editor.AssetEditors.Tests
  • ModelImportDocumentVixen.Editor.AssetEditors
  • TypeRegistrationVixen.Editor.AssetEditors
  • Vixen_Editor_AssetEditors_Importing_ModelImportEditsSerializerVixen.Editor.AssetEditors