Kerbal Space Program
1.12.4
|
Used by SoftMask to automatically replace materials which don't support Soft Mask by those that do. More...
Public Member Functions | |
Material | Replace (Material material) |
Should return null if this replacer can't replace the given material. More... | |
Properties | |
int | order [get] |
Determines the mutual order in which IMaterialReplacers will be called. The lesser the return value, the earlier it will be called, that is, replacers are sorted by ascending of the order value. The order of default implementation is 0. If you want your function to be called before, return a value lesser than 0. More... | |
Used by SoftMask to automatically replace materials which don't support Soft Mask by those that do.
Material SoftMasking.IMaterialReplacer.Replace | ( | Material | material | ) |
Should return null if this replacer can't replace the given material.
Implemented in SoftMasking.MaterialReplacerChain, and SoftMasking.TextMeshPro.MaterialReplacer.
|
get |
Determines the mutual order in which IMaterialReplacers will be called. The lesser the return value, the earlier it will be called, that is, replacers are sorted by ascending of the order
value. The order of default implementation is 0. If you want your function to be called before, return a value lesser than 0.