Kerbal Space Program
1.12.4
|
Mark an implementation of the IMaterialReplacer interface with this attribute to register it in the global material replacer chain. The global replacers will be used automatically by all SoftMasks. More...
Mark an implementation of the IMaterialReplacer interface with this attribute to register it in the global material replacer chain. The global replacers will be used automatically by all SoftMasks.
Globally registered replacers are called in order of ascending of their order
value. The traversal is stopped on the first IMaterialReplacer which returns a non-null value and this returned value is then used as a replacement.
Implementation of IMaterialReplacer marked by this attribute should have a default constructor.