Difference between revisions of "SetRemapData - MatSwap"
Jump to navigation
Jump to search
imported>Qazaaq (added f4se member) |
imported>Qazaaq (removed incomplete flag) |
||
Line 36: | Line 36: | ||
*[[RemapData Struct - MatSwap]] | *[[RemapData Struct - MatSwap]] | ||
*[[GetRemapData - MatSwap]] | *[[GetRemapData - MatSwap]] | ||
*[[ApplyMaterialSwap - ObjectReference]] | |||
Latest revision as of 14:46, 11 February 2018
F4SE member of: MatSwap Script
Requires F4SE version 0.6.5 or higher.
Sets the RemapData for this material swap.
Syntax[edit | edit source]
Function SetRemapData(RemapData[] data) Native
Parameters[edit | edit source]
- data: An array of RemapData for this material swap.
Return Value[edit | edit source]
None
Examples[edit | edit source]
;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)
Notes[edit | edit source]
None