Interface IMaterialAdapter<Tfront, Tback>
Specialized interface for material adapters.
public interface IMaterialAdapter<Tfront, Tback> : IMaterialAdapter where Tfront : Material where Tback : Material
Type Parameters
Tfront
The front type.
Tback
The 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
property
stringThe name of the modified material property in the back material.
destination
TfrontThe front material to update.
source
TbackThe back material that updated.
CopyAndConvert(Tfront)
Copy and convert a front material to a back material.
Tback CopyAndConvert(Tfront source)
Parameters
source
TfrontThe 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
property
stringThe name of the modified material property in the front material.
source
TfrontThe front material that updated.
destination
TbackThe destination material to update.