Class MaterialMetaFile
Material meta file class.
Inheritance
MaterialMetaFile
Implements
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class MaterialMetaFile : AssetMetafile<MaterialProfile, MaterialExporter>, IAssetMetaFile
Constructors
MaterialMetaFile()
Initializes a new instance of the MaterialMetaFile class.
Declaration
public MaterialMetaFile()
MaterialMetaFile(Material)
Initializes a new instance of the MaterialMetaFile class.
Declaration
public MaterialMetaFile(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material | Material instance. |
Fields
Extension
The Material extension.
Declaration
public static readonly string Extension
Field Value
Type | Description |
---|---|
string |
MaterialInfo
The Material info part.
Declaration
public MaterialInfoPart MaterialInfo
Field Value
Type | Description |
---|---|
MaterialInfoPart |
Properties
ExtensionMetafile
Gets the material extension.
Declaration
public override string ExtensionMetafile { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
UpdateFromMaterial(Material)
Updates the metafile from a material.
Declaration
public void UpdateFromMaterial(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The target material. |