Difference between revisions of "GetRemapData - MatSwap"
Jump to navigation
Jump to search
imported>Qazaaq (added details) |
imported>Qazaaq (copy paste mistake) |
||
Line 26: | Line 26: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
{For each material remapping data} | {For each material remapping data} | ||
MatSwap:RemapData[] remapping = MyMaterialSwap.GetRemapData() | MatSwap:RemapData[] remapping = MyMaterialSwap.GetRemapData() | ||
If (remapping) | If (remapping) |
Revision as of 14:00, 11 February 2018
This article has been flagged as incomplete. |
Please help improve the wiki by learning how to contribute. |
F4SE Member of: MatSwap Script
Requires F4SE version 0.6.5 or higher.
Gets an array of the RemapData for this material swap.
Syntax
RemapData[] Function GetRemapData() Native
Parameters
- None
Return Value
- An array of material swap RemapData.
Examples
;Get the material swaps remapping data.
MatSwap:RemapData[] remapping = MyMaterialSwap.GetRemapData()
Debug.Trace(remapping)
{For each material remapping data}
MatSwap:RemapData[] remapping = MyMaterialSwap.GetRemapData()
If (remapping)
int index = 0
While (index < remapping.Length)
Debug.Trace("Remapping '" + remapping[index] + "' at index " + index)
index += 1
EndWhile
Else
Debug.Trace("The material swap remapping data is empty or none.")
EndIf