# Editor.CreateModelFromMeshDialog.ImportOptions

Import options, remembered between uses. Add a property here to add a setting to the dialog.

- Kind: class
- Assembly: `Sandbox.Tools`

## Constructors

- [`ImportOptions`](/api/Editor.CreateModelFromMeshDialog.ImportOptions/.ctor)

## Properties

- [`Collision`](/api/Editor.CreateModelFromMeshDialog.ImportOptions/Collision)
- [`GenerateMaterials`](/api/Editor.CreateModelFromMeshDialog.ImportOptions/GenerateMaterials): Try generating materials for each material slot in the model. Textures must be named after the name of a material slot, otherwise it will be left empty and material won't be generated. Texture name suffix must match whatever name is expected by the shader (_color, _normal, etc..)
- [`GlobalMaterial`](/api/Editor.CreateModelFromMeshDialog.ImportOptions/GlobalMaterial): Material to override every material on the model with. Leave empty to use a default placeholder white material
- [`GlobalMaterialOverride`](/api/Editor.CreateModelFromMeshDialog.ImportOptions/GlobalMaterialOverride): Add a material group that overrides every material on the model
- [`ImportScale`](/api/Editor.CreateModelFromMeshDialog.ImportOptions/ImportScale)
- [`MaterialShader`](/api/Editor.CreateModelFromMeshDialog.ImportOptions/MaterialShader): Which shader should be used for generated materials
- [`Units`](/api/Editor.CreateModelFromMeshDialog.ImportOptions/Units): Unit presets, derived from [Editor.CreateModelFromMeshDialog.ImportOptions.ImportScale](/api/Editor.CreateModelFromMeshDialog.ImportOptions/ImportScale) - same conversions ModelDoc uses.
