MaterialPattern Constructor
Constructor in MaterialPattern
Declaration
public MaterialPattern(MaterialPattern.Preset preset, Texture2D emissionMap = null, Texture2D normalMap = null, Texture2D heightMap = null)
Description
Creates a new material pattern with the specified preset.
Parameters
preset | The preset enumeration value of the pattern. |
emissionMap | The emission map texture of the pattern. |
normalMap | The normal map texture of the pattern. |
heightMap | The height map texture of the pattern. |