Api > Material > CopyPropertiesFromMaterial()
Material.CopyPropertiesFromMaterial(Material mat)⚓︎
Copy properties from other material into this material.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
mat | Material | Other material |
Usage⚓︎
---@type Material
local material;
---@type Material
local mat;
material.CopyPropertiesFromMaterial(mat)