Interface IMaterialAdapter
Base interface for material adapters.
public interface IMaterialAdapter
Properties
BackMaterial
Type of the back material.
Type BackMaterial { get; }
Property Value
FrontMaterial
Type of the front material.
Type FrontMaterial { get; }
Property Value
Methods
BackAnnotate(string, Material, Material)
Annotate changes from the back material to the front material.
void BackAnnotate(string property, Material destination, Material source)
Parameters
property
stringThe name of the modified material property in the back material.
destination
MaterialThe front material to update.
source
MaterialThe back material that updated.
CopyAndConvert(Material)
Copy and convert a front material to a back material.
Material CopyAndConvert(Material source)
Parameters
source
MaterialThe front material source.
Returns
- Material
The new back material.
ForwardAnnotate(string, Material, Material)
Annotate changes from the front material to the back material.
void ForwardAnnotate(string property, Material source, Material destination)