GetRemapData - MatSwap

Revision as of 14:45, 11 February 2018 by imported>Qazaaq (removed incomplete flag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

F4SE Member of: MatSwap Script
Requires F4SE version 0.6.5 or higher.

Gets an array of the RemapData for this material swap.

SyntaxEdit

RemapData[] Function GetRemapData() Native

ParametersEdit

  • None

Return ValueEdit

ExamplesEdit

;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


See AlsoEdit