Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_texture

    Texture that controls material appearance

    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_texture

    Fields

    _anonymous_1

    Texture that controls material appearance

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

    absolute_filename

    Absolute filename specified in the file.

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

    content

    FILE: Optional embedded content blob, eg. raw .png format data

    Declaration
    public ufbx.ufbx_blob content
    Field Value
    Type Description
    ufbx.ufbx_blob

    file_index

    FILE: Index into ufbx_scene.texture_files[] or UFBX_NO_INDEX.

    Declaration
    public uint file_index
    Field Value
    Type Description
    uint

    file_textures

    List of file textures representing this texture. Defined even if type == UFBX_TEXTURE_FILE in which case the array contains only itself.

    Declaration
    public ufbx.ufbx_texture_list file_textures
    Field Value
    Type Description
    ufbx.ufbx_texture_list

    filename

    Filename relative to the currently loaded file. HINT: If using functions other than ufbx_load_file(), you can provide ufbx_load_opts.filename/raw_filename to let ufbx resolve this.

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

    has_file

    FILE: True if file_index has a valid value.

    Declaration
    public bool has_file
    Field Value
    Type Description
    bool

    has_uv_transform

    Has a non-identity transform and derived matrices.

    Declaration
    public bool has_uv_transform
    Field Value
    Type Description
    bool

    layers

    LAYERED: Inner texture layers, ordered from bottom to top

    Declaration
    public ufbx.ufbx_texture_layer_list layers
    Field Value
    Type Description
    ufbx.ufbx_texture_layer_list

    raw_absolute_filename

    Absolute filename specified in the file, non-UTF-8 encoded.

    Declaration
    public ufbx.ufbx_blob raw_absolute_filename
    Field Value
    Type Description
    ufbx.ufbx_blob

    raw_filename

    Filename relative to the loaded file, non-UTF-8 encoded. HINT: If using functions other than ufbx_load_file(), you can provide ufbx_load_opts.filename/raw_filename to let ufbx resolve this.

    Declaration
    public ufbx.ufbx_blob raw_filename
    Field Value
    Type Description
    ufbx.ufbx_blob

    raw_relative_filename

    Relative filename specified in the file, non-UTF-8 encoded. NOTE: May be absolute if the file is saved in a different drive.

    Declaration
    public ufbx.ufbx_blob raw_relative_filename
    Field Value
    Type Description
    ufbx.ufbx_blob

    relative_filename

    Relative filename specified in the file. NOTE: May be absolute if the file is saved in a different drive.

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

    shader

    SHADER: Shader information NOTE: May be specified even if type == UFBX_TEXTURE_FILE if ufbx_load_opts.disable_quirks is not specified. Some known shaders that represent files are interpreted as UFBX_TEXTURE_FILE.

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

    texture_to_uv

    Matrix representation of transform

    Declaration
    public ufbx.ufbx_matrix texture_to_uv
    Field Value
    Type Description
    ufbx.ufbx_matrix

    type

    Texture type (file / layered / procedural / shader)

    Declaration
    public ufbx.ufbx_texture_type type
    Field Value
    Type Description
    ufbx.ufbx_texture_type

    uv_set

    Name of the UV set to use

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

    uv_to_texture

    UV coordinate to normalized texture coordinate matrix

    Declaration
    public ufbx.ufbx_matrix uv_to_texture
    Field Value
    Type Description
    ufbx.ufbx_matrix

    uv_transform

    Texture transformation in UV space

    Declaration
    public ufbx.ufbx_transform uv_transform
    Field Value
    Type Description
    ufbx.ufbx_transform

    video

    FILE: Optional video texture

    Declaration
    public ufbx.ufbx_video* video
    Field Value
    Type Description
    ufbx_video*

    wrap_u

    Wrapping mode

    Declaration
    public ufbx.ufbx_wrap_mode wrap_u
    Field Value
    Type Description
    ufbx.ufbx_wrap_mode

    wrap_v

    Declaration
    public ufbx.ufbx_wrap_mode wrap_v
    Field Value
    Type Description
    ufbx.ufbx_wrap_mode

    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