Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
SoftMasking.MaterialReplacerChain Class Reference
Inheritance diagram for SoftMasking.MaterialReplacerChain:
SoftMasking.IMaterialReplacer

Public Member Functions

 MaterialReplacerChain (IEnumerable< IMaterialReplacer > replacers, IMaterialReplacer yetAnother)
 
Material Replace (Material material)
 Should return null if this replacer can't replace the given material. More...
 

Properties

int order [get, set]
 
- Properties inherited from SoftMasking.IMaterialReplacer
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...
 

Constructor & Destructor Documentation

SoftMasking.MaterialReplacerChain.MaterialReplacerChain ( IEnumerable< IMaterialReplacer replacers,
IMaterialReplacer  yetAnother 
)
inline

Member Function Documentation

Material SoftMasking.MaterialReplacerChain.Replace ( Material  material)
inline

Should return null if this replacer can't replace the given material.

Implements SoftMasking.IMaterialReplacer.

Property Documentation

int SoftMasking.MaterialReplacerChain.order
getset

The documentation for this class was generated from the following file: