Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_material_map

    Material property, either specified with a constant value or a mapped 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_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
    Type Description
    ufbx.ufbx_material_map._anonymous_1_struct

    feature_disabled

    Set to true if this feature should be disabled (specific to shader type).

    Declaration
    public bool feature_disabled
    Field Value
    Type Description
    bool

    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
    public bool has_value
    Field Value
    Type Description
    bool

    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
    Type Description
    ufbx_texture*

    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
    Type Description
    bool

    value_components

    Number of components in the value from 1 to 4 if defined, 0 if not.

    Declaration
    public byte value_components
    Field Value
    Type Description
    byte

    value_int

    Declaration
    public long value_int
    Field Value
    Type Description
    long

    Properties

    value_real

    Declaration
    public float value_real { get; }
    Property Value
    Type Description
    float

    value_vec2

    Declaration
    public ufbx.ufbx_vec2 value_vec2 { get; }
    Property Value
    Type Description
    ufbx.ufbx_vec2

    value_vec3

    Declaration
    public ufbx.ufbx_vec3 value_vec3 { get; }
    Property Value
    Type Description
    ufbx.ufbx_vec3

    value_vec4

    Declaration
    public ufbx.ufbx_vec4 value_vec4 { get; }
    Property Value
    Type Description
    ufbx.ufbx_vec4
    In this article
    Back to top Generated by DocFX