Table of Contents

Interface IMaterialAdapter

Namespace
ReFuel.Resources
Assembly
ReFuel.dll

Base interface for material adapters.

public interface IMaterialAdapter

Properties

BackMaterial

Type of the back material.

Type BackMaterial { get; }

Property Value

Type

FrontMaterial

Type of the front material.

Type FrontMaterial { get; }

Property Value

Type

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 string

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

destination Material

The front material to update.

source Material

The back material that updated.

CopyAndConvert(Material)

Copy and convert a front material to a back material.

Material CopyAndConvert(Material source)

Parameters

source Material

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

Parameters

property string

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

source Material

The front material that updated.

destination Material

The destination material to update.