Class ModelMaterialModel
Model of the asset.
Namespace: Evergine.Framework.Assets.GltfModel
Assembly: Evergine.Framework.dll
Syntax
public class ModelMaterialModel
Constructors
ModelMaterialModel()
Initializes a new instance of the ModelMaterialModel class.
Declaration
public ModelMaterialModel()
Properties
AlphaCutout
Gets or sets the alpha cutout.
Declaration
public float AlphaCutout { get; set; }
Property Value
Type | Description |
---|---|
float |
AlphaMode
Gets or sets the alpha mode.
Declaration
public AlphaMode AlphaMode { get; set; }
Property Value
Type | Description |
---|---|
AlphaMode |
BaseColor
Gets or sets the base color.
Declaration
public LinearColor BaseColor { get; set; }
Property Value
Type | Description |
---|---|
LinearColor |
BaseColorTextureFile
Gets or sets the diffuse texture.
Declaration
public TextureSamplerPair BaseColorTextureFile { get; set; }
Property Value
Type | Description |
---|---|
TextureSamplerPair |
EmissiveColor
Gets or sets the emissive color.
Declaration
public LinearColor EmissiveColor { get; set; }
Property Value
Type | Description |
---|---|
LinearColor |
EmissiveTextureFile
Gets or sets the emissive texture.
Declaration
public TextureSamplerPair EmissiveTextureFile { get; set; }
Property Value
Type | Description |
---|---|
TextureSamplerPair |
Metallic
Gets or sets the metallic value.
Declaration
public float Metallic { get; set; }
Property Value
Type | Description |
---|---|
float |
MetallicRoughnessTextureFile
Gets or sets the metal roughness texture.
Declaration
public TextureSamplerPair MetallicRoughnessTextureFile { get; set; }
Property Value
Type | Description |
---|---|
TextureSamplerPair |
Name
Gets or sets the mesh name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NormalTextureFile
Gets or sets the normal texture.
Declaration
public TextureSamplerPair NormalTextureFile { get; set; }
Property Value
Type | Description |
---|---|
TextureSamplerPair |
OcclusionTextureFile
Gets or sets the occlusion texture.
Declaration
public TextureSamplerPair OcclusionTextureFile { get; set; }
Property Value
Type | Description |
---|---|
TextureSamplerPair |
Roughness
Gets or sets the roughness value.
Declaration
public float Roughness { get; set; }
Property Value
Type | Description |
---|---|
float |