Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_material

    Surface material properties such as color, roughness, etc. Each property may be optionally bound to an ufbx_texture.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ufbxWrapper
    Assembly: ufbxWrapper.dll
    Syntax
    public struct ufbx.ufbx_material

    Fields

    _anonymous_1

    Surface material properties such as color, roughness, etc. Each property may be optionally bound to an ufbx_texture.

    Declaration
    public ufbx.ufbx_material._anonymous_1_struct _anonymous_1
    Field Value
    Type Description
    ufbx.ufbx_material._anonymous_1_struct

    fbx

    FBX builtin properties NOTE: These may be empty if the material is using a custom shader

    Declaration
    public ufbx.ufbx_material_fbx_maps fbx
    Field Value
    Type Description
    ufbx.ufbx_material_fbx_maps

    features

    Material features, primarily applies to pbr.

    Declaration
    public ufbx.ufbx_material_features features
    Field Value
    Type Description
    ufbx.ufbx_material_features

    pbr

    PBR material properties, defined for all shading models but may be somewhat approximate if shader == NULL.

    Declaration
    public ufbx.ufbx_material_pbr_maps pbr
    Field Value
    Type Description
    ufbx.ufbx_material_pbr_maps

    shader

    Optional extended shader information

    Declaration
    public ufbx.ufbx_shader* shader
    Field Value
    Type Description
    ufbx_shader*

    shader_prop_prefix

    Prefix before shader property names with trailing |. For example "3dsMax|Parameters|" where properties would have names like "3dsMax|Parameters|base_color". You can ignore this if you use the built-in ufbx_material_fbx_maps fbx and ufbx_material_pbr_maps pbr structures.

    Declaration
    public ufbx.ufbx_string shader_prop_prefix
    Field Value
    Type Description
    ufbx.ufbx_string

    shader_type

    Always defined

    Declaration
    public ufbx.ufbx_shader_type shader_type
    Field Value
    Type Description
    ufbx.ufbx_shader_type

    shading_model_name

    Often one of { "lambert", "phong", "unknown" }

    Declaration
    public ufbx.ufbx_string shading_model_name
    Field Value
    Type Description
    ufbx.ufbx_string

    textures

    Sorted by material_prop

    Declaration
    public ufbx.ufbx_material_texture_list textures
    Field Value
    Type Description
    ufbx.ufbx_material_texture_list

    Properties

    element

    Declaration
    public ufbx.ufbx_element element { get; }
    Property Value
    Type Description
    ufbx.ufbx_element

    element_id

    Declaration
    public uint element_id { get; }
    Property Value
    Type Description
    uint

    name

    Declaration
    public ufbx.ufbx_string name { get; }
    Property Value
    Type Description
    ufbx.ufbx_string

    props

    Declaration
    public ufbx.ufbx_props props { get; }
    Property Value
    Type Description
    ufbx.ufbx_props

    typed_id

    Declaration
    public uint typed_id { get; }
    Property Value
    Type Description
    uint
    In this article
    Back to top Generated by DocFX