Mod:Creation Kit/RemapData Struct - MatSwap

F4SE Member of: Mod:Creation Kit/MatSwap Script

A structure that holds information about a material swap remapping.

Syntax
Struct RemapData string Source string Target float ColorIndex EndStruct

Members

 * Source: The original material used to override a Mod:Creation Kit/Texture File referenced by a Mod:Creation Kit/Model File.
 * Target: The new material to be applied in place of the original.
 * ColorIndex:

Examples
MatSwap:RemapData remap = new MatSwap:RemapData remap.Source = "OriginalMaterial.bgsm" remap.Target = "NewMaterial.bgsm" remap.ColorIndex = 0.0

Debug.Trace("The remap source equals " + remap.Source) Debug.Trace("The remap target equals " + remap.Target) Debug.Trace("The remap color index equals " + remap.ColorIndex)