CopyMaterial()
Syntax
Result = CopyMaterial(#Material, #NewMaterial)Description
Creates a #NewMaterial which is the exact copy of the specified #Material. If the 'Result' is 0, the Material copy has failed. If the #NewMaterial was already created, it is automatically freed and replaced by the new one.
Supported OS
Windows, Linux