Version:
Back to list
Material :: addUniformProperty
Synopsis
Add a shader uniform parameter to the given custom patternGUI Dialog
Script function
material.addUniformProperty(pattern, name, type)Parameters
pattern (CustomMaterialPattern) : The custom pattern to edit
name (String) : Name of the new property
type (ShaderUniformType) : Type of the new uniform