Search Results for

    Show / Hide Table of Contents

    Class OBJMaterial

    Represents a material definition in the OBJ format, including properties for ambient, diffuse, and specular components, as well as texture and PBR extensions.

    Inheritance
    object
    OBJMaterial
    Namespace: Evergine.Runtimes.OBJ.DataTypes
    Assembly: Evergine.Runtimes.OBJ.dll
    Syntax
    public class OBJMaterial

    Fields

    AlphaTexname

    Gets or sets the texture name for the alpha map.

    Declaration
    public string AlphaTexname
    Field Value
    Type Description
    string

    AlphaTexopt

    Gets or sets the texture options for the alpha map.

    Declaration
    public OBJTextureOption AlphaTexopt
    Field Value
    Type Description
    OBJTextureOption

    Ambient

    Gets or sets the ambient color of the material.

    Declaration
    public Vector3 Ambient
    Field Value
    Type Description
    Vector3

    AmbientTexname

    Gets or sets the texture name for the ambient map.

    Declaration
    public string AmbientTexname
    Field Value
    Type Description
    string

    AmbientTexopt

    Gets or sets the texture options for the ambient map.

    Declaration
    public OBJTextureOption AmbientTexopt
    Field Value
    Type Description
    OBJTextureOption

    Anisotropy

    Gets or sets the anisotropy value for PBR rendering.

    Declaration
    public float Anisotropy
    Field Value
    Type Description
    float

    AnisotropyRotation

    Gets or sets the anisotropy rotation value for PBR rendering.

    Declaration
    public float AnisotropyRotation
    Field Value
    Type Description
    float

    BumpTexname

    Gets or sets the texture name for the bump map.

    Declaration
    public string BumpTexname
    Field Value
    Type Description
    string

    BumpTexopt

    Gets or sets the texture options for the bump map.

    Declaration
    public OBJTextureOption BumpTexopt
    Field Value
    Type Description
    OBJTextureOption

    ClearcoatRoughness

    Gets or sets the clearcoat roughness for PBR rendering.

    Declaration
    public float ClearcoatRoughness
    Field Value
    Type Description
    float

    ClearcoatThickness

    Gets or sets the clearcoat thickness for PBR rendering.

    Declaration
    public float ClearcoatThickness
    Field Value
    Type Description
    float

    Diffuse

    Gets or sets the diffuse color of the material.

    Declaration
    public Vector3 Diffuse
    Field Value
    Type Description
    Vector3

    DiffuseTexname

    Gets or sets the texture name for the diffuse map.

    Declaration
    public string DiffuseTexname
    Field Value
    Type Description
    string

    DiffuseTexopt

    Gets or sets the texture options for the diffuse map.

    Declaration
    public OBJTextureOption DiffuseTexopt
    Field Value
    Type Description
    OBJTextureOption

    DisplacementTexname

    Gets or sets the texture name for the displacement map.

    Declaration
    public string DisplacementTexname
    Field Value
    Type Description
    string

    DisplacementTexopt

    Gets or sets the texture options for the displacement map.

    Declaration
    public OBJTextureOption DisplacementTexopt
    Field Value
    Type Description
    OBJTextureOption

    Dissolve

    Gets or sets the dissolve factor of the material (1 = opaque, 0 = fully transparent).

    Declaration
    public float Dissolve
    Field Value
    Type Description
    float

    Emission

    Gets or sets the emission color of the material.

    Declaration
    public Vector3 Emission
    Field Value
    Type Description
    Vector3

    EmissiveTexname

    Gets or sets the texture name for the emissive map.

    Declaration
    public string EmissiveTexname
    Field Value
    Type Description
    string

    Emissive_texopt

    Gets or sets the texture options for the emissive map.

    Declaration
    public OBJTextureOption Emissive_texopt
    Field Value
    Type Description
    OBJTextureOption

    Illum

    Gets or sets the illumination model of the material.

    Declaration
    public int Illum
    Field Value
    Type Description
    int

    Ior

    Gets or sets the index of refraction of the material.

    Declaration
    public float Ior
    Field Value
    Type Description
    float

    Metallic

    Gets or sets the metallic value for PBR rendering.

    Declaration
    public float Metallic
    Field Value
    Type Description
    float

    MetallicTexname

    Gets or sets the texture name for the metallic map.

    Declaration
    public string MetallicTexname
    Field Value
    Type Description
    string

    Metallic_texopt

    Gets or sets the texture options for the metallic map.

    Declaration
    public OBJTextureOption Metallic_texopt
    Field Value
    Type Description
    OBJTextureOption

    Name

    Gets or sets the name of the material.

    Declaration
    public string Name
    Field Value
    Type Description
    string

    NormalTexname

    Gets or sets the texture name for the normal map.

    Declaration
    public string NormalTexname
    Field Value
    Type Description
    string

    Normal_texopt

    Gets or sets the texture options for the normal map.

    Declaration
    public OBJTextureOption Normal_texopt
    Field Value
    Type Description
    OBJTextureOption

    Pad2

    Gets or sets the padding value.

    Declaration
    public int Pad2
    Field Value
    Type Description
    int

    ReflectionTexname

    Gets or sets the texture name for the reflection map.

    Declaration
    public string ReflectionTexname
    Field Value
    Type Description
    string

    ReflectionTexopt

    Gets or sets the texture options for the reflection map.

    Declaration
    public OBJTextureOption ReflectionTexopt
    Field Value
    Type Description
    OBJTextureOption

    Roughness

    Gets or sets the roughness value for PBR rendering.

    Declaration
    public float Roughness
    Field Value
    Type Description
    float

    RoughnessTexname

    Gets or sets the texture name for the roughness map.

    Declaration
    public string RoughnessTexname
    Field Value
    Type Description
    string

    Roughness_texopt

    Gets or sets the texture options for the roughness map.

    Declaration
    public OBJTextureOption Roughness_texopt
    Field Value
    Type Description
    OBJTextureOption

    Sheen

    Gets or sets the sheen value for PBR rendering.

    Declaration
    public float Sheen
    Field Value
    Type Description
    float

    SheenTexname

    Gets or sets the texture name for the sheen map.

    Declaration
    public string SheenTexname
    Field Value
    Type Description
    string

    Sheen_texopt

    Gets or sets the texture options for the sheen map.

    Declaration
    public OBJTextureOption Sheen_texopt
    Field Value
    Type Description
    OBJTextureOption

    Shininess

    Gets or sets the shininess of the material.

    Declaration
    public float Shininess
    Field Value
    Type Description
    float

    Specular

    Gets or sets the specular color of the material.

    Declaration
    public Vector3 Specular
    Field Value
    Type Description
    Vector3

    SpecularHighlightTexname

    Gets or sets the texture name for the specular highlight map.

    Declaration
    public string SpecularHighlightTexname
    Field Value
    Type Description
    string

    SpecularHighlightTexopt

    Gets or sets the texture options for the specular highlight map.

    Declaration
    public OBJTextureOption SpecularHighlightTexopt
    Field Value
    Type Description
    OBJTextureOption

    SpecularTexname

    Gets or sets the texture name for the specular map.

    Declaration
    public string SpecularTexname
    Field Value
    Type Description
    string

    SpecularTexopt

    Gets or sets the texture options for the specular map.

    Declaration
    public OBJTextureOption SpecularTexopt
    Field Value
    Type Description
    OBJTextureOption

    Transmittance

    Gets or sets the transmittance color of the material.

    Declaration
    public Vector3 Transmittance
    Field Value
    Type Description
    Vector3

    UnknownParameter

    Gets or sets the key-value pairs for unknown parameters.

    Declaration
    public Dictionary<string, string> UnknownParameter
    Field Value
    Type Description
    Dictionary<string, string>

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX