SetWearableToNewMaterial
ModularCharacterManager.SetWearableToNewMaterial
Last updated
ModularCharacterManager.SetWearableToNewMaterial
Last updated
Declaration public void SetWearableToNewMaterial(Wearable _wearable, Material _newMaterial);
Parameters
Parameter | Description |
---|---|
Description The public function to replace the current material on a live wearable mesh with another material.
Wearable _wearable
The Wearable you want to add the new Material to.
Material _newMaterial
The new Material you want to apply.