Class FullBrightGltfMaterialAdapter
public class FullBrightGltfMaterialAdapter : IMaterialAdapter<GltfMaterial, FullBrightMaterial>, IMaterialAdapter
- Inheritance
-
FullBrightGltfMaterialAdapter
- Implements
- Inherited Members
Properties
BackMaterial
Type of the back material.
public Type BackMaterial { get; }
Property Value
FrontMaterial
Type of the front material.
public Type FrontMaterial { get; }
Property Value
Methods
BackAnnotate(string, GltfMaterial, FullBrightMaterial)
Annotate changes from the back material to the front material.
public void BackAnnotate(string property, GltfMaterial destination, FullBrightMaterial source)
Parameters
property
stringThe name of the modified material property in the back material.
destination
GltfMaterialThe front material to update.
source
FullBrightMaterialThe back material that updated.
BackAnnotate(string, Material, Material)
Annotate changes from the back material to the front material.
public 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(GltfMaterial)
Copy and convert a front material to a back material.
public FullBrightMaterial CopyAndConvert(GltfMaterial source)
Parameters
source
GltfMaterialThe front material source.
Returns
- FullBrightMaterial
The new back material.
CopyAndConvert(Material)
Copy and convert a front material to a back material.
public Material CopyAndConvert(Material source)
Parameters
source
MaterialThe front material source.
Returns
- Material
The new back material.
ForwardAnnotate(string, GltfMaterial, FullBrightMaterial)
Annotate changes from the front material to the back material.
public void ForwardAnnotate(string property, GltfMaterial source, FullBrightMaterial destination)
Parameters
property
stringThe name of the modified material property in the front material.
source
GltfMaterialThe front material that updated.
destination
FullBrightMaterialThe destination material to update.
ForwardAnnotate(string, Material, Material)
Annotate changes from the front material to the back material.
public void ForwardAnnotate(string property, Material source, Material destination)