Background for Fallout 4
Member of the MatSwap script
voidfunctionSetRemapData(MatSwap:RemapData[]data)Native

Description

Wiki Description

Sets the RemapData for this material swap.


Caveats

CK Wiki - Notes

None


Parameters

MatSwap:RemapData[]data

CK Wiki Description

An array of RemapData for this material swap.


Examples

;Set the material swaps remapping data.
MatSwap:RemapData[] remapping = new MatSwap:RemapData[0]

MatSwap:RemapData remap = new MatSwap:RemapData
remap.Source = "TrafficLight.bgsm"
remap.Target = "TrafficLightRed.bgsm"
remapping.Add(remap)

MyMaterialSwap.SetRemapData(remapping)
Debug.Trace(MyMaterialSwap + " was set with the remapping " + remapping)

Auto-Generated Example

MatSwap:RemapData[] myMatSwap_RemapDataArray__data

myMatSwap__toCallFunctionOn.SetRemapData(myMatSwap_RemapDataArray__data)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.