Class MeshImportSettings
A collection of settings used when importing models to the ProBuilderMesh component.
Inherited Members
Namespace: UnityEngine.ProBuilder.MeshOperations
Assembly: Unity.ProBuilder.dll
Syntax
[Serializable]
public sealed class MeshImportSettings
Properties
quads
Gets or sets whether to quadrangilize meshes (convert them to quads if possible).
Declaration
public bool quads { get; set; }
Property Value
Type | Description |
---|---|
bool |
smoothing
Gets or sets whether to generate smoothing groups based on mesh normals.
Declaration
public bool smoothing { get; set; }
Property Value
Type | Description |
---|---|
bool |
smoothingAngle
Gets or sets the allowable degree of difference between face normals when determining smoothing groups.
Declaration
public float smoothingAngle { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
ToString()
Returns a string representation of the options.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String formatted as |