MaterialStyle Constructor
Constructor in MaterialStyle
Declaration
public MaterialStyle(MaterialStyle.Preset preset, Color color = null, float metallic = 0F, float smoothness = 0F)Description
Creates a new material style with the specified preset.
Parameters
| preset | The preset enumeration value of the style. |
| color | The color of the material style. |
| metallic | The metallic value of the material style. |
| smoothness | The smoothness value of the material style. |