- Found in:
- F4SE
<UNKNOWN_SCRIPT: MatSwap:RemapData>[]functionApplyMaterialSwap(MatSwapmSwap, boolrenameMaterial=false)Native
[DEV SERVER] Loading description...
Caveats
Parameters
boolrenameMaterial=false
CK Wiki Description
Rename material allows independent control over the Initialization File setting General::bRenamePropertiesOnMaterialSwap.
Examples
Game.GetPlayer().ApplyMaterialSwap(MyMaterialSwap)Auto-Generated Example
MatSwap myMatSwap__mSwap
bool myBool__renameMaterial
MatSwap:RemapData[] returnedValue = myObjectReference__toCallFunctionOn.ApplyMaterialSwap(myMatSwap__mSwap, myBool__renameMaterial)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
