Struct ufbx.ufbx_material
Surface material properties such as color, roughness, etc. Each property may
be optionally bound to an ufbx_texture
.
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
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
features
Material features, primarily applies to pbr
.
Declaration
public ufbx.ufbx_material_features features
Field Value
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
shader
Optional extended shader information
Declaration
public ufbx.ufbx_shader* shader
Field Value
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
shader_type
Declaration
public ufbx.ufbx_shader_type shader_type
Field Value
shading_model_name
Often one of { "lambert", "phong", "unknown" }
Declaration
public ufbx.ufbx_string shading_model_name
Field Value
textures
Declaration
public ufbx.ufbx_material_texture_list textures
Field Value
Properties
element
Declaration
public ufbx.ufbx_element element { get; }
Property Value
element_id
Declaration
public uint element_id { get; }
Property Value
name
Declaration
public ufbx.ufbx_string name { get; }
Property Value
props
Declaration
public ufbx.ufbx_props props { get; }
Property Value
typed_id
Declaration
public uint typed_id { get; }
Property Value