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

presetThe preset enumeration value of the pattern.
emissionMapThe emission map texture of the pattern.
normalMapThe normal map texture of the pattern.
heightMapThe height map texture of the pattern.