Parameters |
Description |
nSlotId |
On which slot to clone material. |
sSubMaterialName |
if non empty string only this specific sub-material is cloned. |
Syntax: Entity.CloneMaterial( nSlotId, sSubMaterialName )
Replace material on the slot with a cloned version of the material. Cloned material can be freely changed uniquely for this entity.
Copyright (c) 2012. All rights reserved.
|