Class MeshImportSettings
A collection of settings used when importing models to the ProBuilderMesh component.
Inherited Members
Namespace: UnityEngine.ProBuilder.MeshOperations
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 |
---|---|
Boolean |
smoothing
Gets or sets whether to generate smoothing groups based on mesh normals.
Declaration
public bool smoothing { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
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 |
---|---|
Single |
Methods
ToString()
Returns a string representation of the options.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | String formatted as |