Search Results for

    Show / Hide Table of Contents

    Class MaterialPbrMetallicRoughness

    Inheritance
    object
    MaterialPbrMetallicRoughness
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: glTFLoader.Schema
    Assembly: Evergine.Assets.dll
    Syntax
    public class MaterialPbrMetallicRoughness

    Properties

    BaseColorFactor

    The material's base color factor.

    Declaration
    [JsonConverter(typeof(ArrayConverter))]
    [JsonProperty("baseColorFactor")]
    public float[] BaseColorFactor { get; set; }
    Property Value
    Type Description
    float[]

    BaseColorTexture

    The base color texture.

    Declaration
    [JsonProperty("baseColorTexture")]
    public TextureInfo BaseColorTexture { get; set; }
    Property Value
    Type Description
    TextureInfo

    Extensions

    Dictionary object with extension-specific objects.

    Declaration
    [JsonProperty("extensions")]
    public Dictionary<string, object> Extensions { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    Extras

    Application-specific data.

    Declaration
    [JsonProperty("extras")]
    public Extras Extras { get; set; }
    Property Value
    Type Description
    Extras

    MetallicFactor

    The metalness of the material.

    Declaration
    [JsonProperty("metallicFactor")]
    public float MetallicFactor { get; set; }
    Property Value
    Type Description
    float

    MetallicRoughnessTexture

    The metallic-roughness texture.

    Declaration
    [JsonProperty("metallicRoughnessTexture")]
    public TextureInfo MetallicRoughnessTexture { get; set; }
    Property Value
    Type Description
    TextureInfo

    RoughnessFactor

    The roughness of the material.

    Declaration
    [JsonProperty("roughnessFactor")]
    public float RoughnessFactor { get; set; }
    Property Value
    Type Description
    float

    Methods

    ShouldSerializeBaseColorFactor()

    Declaration
    public bool ShouldSerializeBaseColorFactor()
    Returns
    Type Description
    bool

    ShouldSerializeBaseColorTexture()

    Declaration
    public bool ShouldSerializeBaseColorTexture()
    Returns
    Type Description
    bool

    ShouldSerializeExtensions()

    Declaration
    public bool ShouldSerializeExtensions()
    Returns
    Type Description
    bool

    ShouldSerializeExtras()

    Declaration
    public bool ShouldSerializeExtras()
    Returns
    Type Description
    bool

    ShouldSerializeMetallicFactor()

    Declaration
    public bool ShouldSerializeMetallicFactor()
    Returns
    Type Description
    bool

    ShouldSerializeMetallicRoughnessTexture()

    Declaration
    public bool ShouldSerializeMetallicRoughnessTexture()
    Returns
    Type Description
    bool

    ShouldSerializeRoughnessFactor()

    Declaration
    public bool ShouldSerializeRoughnessFactor()
    Returns
    Type Description
    bool

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX