Struct ufbx.ufbx_material_map
Material property, either specified with a constant value or a mapped texture
Assembly: ufbxWrapper.dll
Syntax
public struct ufbx.ufbx_material_map
Fields
_anonymous_1
Material property, either specified with a constant value or a mapped texture
Declaration
public ufbx.ufbx_material_map._anonymous_1_struct _anonymous_1
Field Value
feature_disabled
Set to true
if this feature should be disabled (specific to shader type).
Declaration
public bool feature_disabled
Field Value
has_value
true
if the file has specified any of the values above.
NOTE: The value may be set to a non-zero default even if has_value == false
,
for example missing factors are set to 1.0
if a color is defined.
Declaration
Field Value
texture
Texture if connected, otherwise NULL
.
May be valid but "disabled" (application specific) if texture_enabled == false
.
Declaration
public ufbx.ufbx_texture* texture
Field Value
texture_enabled
Controls whether shading should use texture
.
NOTE: Some shading models allow this to be true
even if texture == NULL
.
Declaration
public bool texture_enabled
Field Value
value_components
Number of components in the value from 1 to 4 if defined, 0 if not.
Declaration
public byte value_components
Field Value
value_int
Declaration
Field Value
Properties
value_real
Declaration
public float value_real { get; }
Property Value
value_vec2
Declaration
public ufbx.ufbx_vec2 value_vec2 { get; }
Property Value
value_vec3
Declaration
public ufbx.ufbx_vec3 value_vec3 { get; }
Property Value
value_vec4
Declaration
public ufbx.ufbx_vec4 value_vec4 { get; }
Property Value