- Found in:
- F4SE
[DEV SERVER] Loading description...
Caveats
Parameters
MatSwapmSwap
CK Wiki Description
The Material Swap added to this reference.
- Adding persistent material swaps will increase save-size by a small amount. Setting this to
Nonewill remove persistence and free up save-space.
Examples
weaponReference.SetMaterialSwap(myMaterialSwap)
Debug.Trace("Set the material swap to "+myMaterialSwap+" on the "+weaponReference+" reference.")Auto-Generated Example
MatSwap myMatSwap__mSwap
myObjectReference__toCallFunctionOn.SetMaterialSwap(myMatSwap__mSwap)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
