Interface IMaterialAdapter<Tfront, Tback>
Specialized interface for material adapters.
public interface IMaterialAdapter<Tfront, Tback> : IMaterialAdapter where Tfront : Material where Tback : Material
Type Parameters
TfrontThe front type.
TbackThe back type.
- Inherited Members
Methods
BackAnnotate(string, Tfront, Tback)
Annotate changes from the back material to the front material.
void BackAnnotate(string property, Tfront destination, Tback source)
Parameters
propertystringThe name of the modified material property in the back material.
destinationTfrontThe front material to update.
sourceTbackThe back material that updated.
CopyAndConvert(Tfront)
Copy and convert a front material to a back material.
Tback CopyAndConvert(Tfront source)
Parameters
sourceTfrontThe front material source.
Returns
- Tback
The new back material.
ForwardAnnotate(string, Tfront, Tback)
Annotate changes from the front material to the back material.
void ForwardAnnotate(string property, Tfront source, Tback destination)
Parameters
propertystringThe name of the modified material property in the front material.
sourceTfrontThe front material that updated.
destinationTbackThe destination material to update.