Class MaterialPbrMetallicRoughness
Inheritance
MaterialPbrMetallicRoughness
Assembly: Evergine.Assets.dll
public class MaterialPbrMetallicRoughness
Properties
The material's base color factor.
Declaration
[JsonConverter(typeof(ArrayConverter))]
[JsonProperty("baseColorFactor")]
public float[] BaseColorFactor { get; set; }
Property Value
BaseColorTexture
Declaration
[JsonProperty("baseColorTexture")]
public TextureInfo BaseColorTexture { get; set; }
Property Value
Dictionary object with extension-specific objects.
Declaration
[JsonProperty("extensions")]
public Dictionary<string, object> Extensions { get; set; }
Property Value
Application-specific data.
Declaration
[JsonProperty("extras")]
public Extras Extras { get; set; }
Property Value
The metalness of the material.
Declaration
[JsonProperty("metallicFactor")]
public float MetallicFactor { get; set; }
Property Value
MetallicRoughnessTexture
The metallic-roughness texture.
Declaration
[JsonProperty("metallicRoughnessTexture")]
public TextureInfo MetallicRoughnessTexture { get; set; }
Property Value
The roughness of the material.
Declaration
[JsonProperty("roughnessFactor")]
public float RoughnessFactor { get; set; }
Property Value
Methods
Declaration
public bool ShouldSerializeBaseColorFactor()
Returns
ShouldSerializeBaseColorTexture()
Declaration
public bool ShouldSerializeBaseColorTexture()
Returns
Declaration
public bool ShouldSerializeExtensions()
Returns
Declaration
public bool ShouldSerializeExtras()
Returns
Declaration
public bool ShouldSerializeMetallicFactor()
Returns
ShouldSerializeMetallicRoughnessTexture()
Declaration
public bool ShouldSerializeMetallicRoughnessTexture()
Returns
Declaration
public bool ShouldSerializeRoughnessFactor()
Returns
Extension Methods