Table of Contents

Interface IMaterialAdapter<Tfront, Tback>

Namespace
ReFuel.Resources
Assembly
ReFuel.dll

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 string

The name of the modified material property in the back material.

destination Tfront

The front material to update.

source Tback

The back material that updated.

CopyAndConvert(Tfront)

Copy and convert a front material to a back material.

Tback CopyAndConvert(Tfront source)

Parameters

source Tfront

The 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 string

The name of the modified material property in the front material.

source Tfront

The front material that updated.

destination Tback

The destination material to update.