ImportOptionsclass
Import options, remembered between uses. Add a property here to add a setting to the dialog.
Constructors1
Showing 1 constructors
public ImportOptions()
No results match this filter.
Properties7
Showing 7 properties
public Editor.CreateModelFromMeshDialog.CollisionMode Editor.CreateModelFromMeshDialog.ImportOptions.Collision { get; set; }
public bool Editor.CreateModelFromMeshDialog.ImportOptions.GenerateMaterials { get; set; }
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..)
bool—public string Editor.CreateModelFromMeshDialog.ImportOptions.GlobalMaterial { get; set; }
Material to override every material on the model with. Leave empty to use a default placeholder white material
string—public bool Editor.CreateModelFromMeshDialog.ImportOptions.GlobalMaterialOverride { get; set; }
Add a material group that overrides every material on the model
bool—public float Editor.CreateModelFromMeshDialog.ImportOptions.ImportScale { get; set; }
float—public string Editor.CreateModelFromMeshDialog.ImportOptions.MaterialShader { get; set; }
Which shader should be used for generated materials
string—public Editor.CreateModelFromMeshDialog.ScaleUnit Editor.CreateModelFromMeshDialog.ImportOptions.Units { get; set; }
Unit presets, derived from `Editor.CreateModelFromMeshDialog.ImportOptions.ImportScale` - same conversions ModelDoc uses.
No results match this filter.