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
propertystringThe name of the modified material property in the back material.
destinationGltfMaterialThe front material to update.
sourceFullBrightMaterialThe 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
propertystringThe name of the modified material property in the back material.
destinationMaterialThe front material to update.
sourceMaterialThe back material that updated.
CopyAndConvert(GltfMaterial)
Copy and convert a front material to a back material.
public FullBrightMaterial CopyAndConvert(GltfMaterial source)
Parameters
sourceGltfMaterialThe 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
sourceMaterialThe 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
propertystringThe name of the modified material property in the front material.
sourceGltfMaterialThe front material that updated.
destinationFullBrightMaterialThe 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)