Struct ufbx.ufbx_texture
Texture that controls material appearance
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
absolute_filename
Absolute filename specified in the file.
Declaration
public ufbx.ufbx_string absolute_filename
Field Value
content
FILE: Optional embedded content blob, eg. raw .png format data
Declaration
public ufbx.ufbx_blob content
Field Value
file_index
FILE: Index into ufbx_scene.texture_files[]
or UFBX_NO_INDEX
.
Declaration
Field Value
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
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
has_file
FILE: True if file_index
has a valid value.
Declaration
Field Value
has_uv_transform
Has a non-identity transform
and derived matrices.
Declaration
public bool has_uv_transform
Field Value
layers
LAYERED: Inner texture layers, ordered from bottom to top
Declaration
public ufbx.ufbx_texture_layer_list layers
Field Value
raw_absolute_filename
Absolute filename specified in the file, non-UTF-8 encoded.
Declaration
public ufbx.ufbx_blob raw_absolute_filename
Field Value
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
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
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
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
texture_to_uv
Matrix representation of transform
Declaration
public ufbx.ufbx_matrix texture_to_uv
Field Value
type
Texture type (file / layered / procedural / shader)
Declaration
public ufbx.ufbx_texture_type type
Field Value
uv_set
Name of the UV set to use
Declaration
public ufbx.ufbx_string uv_set
Field Value
uv_to_texture
UV coordinate to normalized texture coordinate matrix
Declaration
public ufbx.ufbx_matrix uv_to_texture
Field Value
uv_transform
Texture transformation in UV space
Declaration
public ufbx.ufbx_transform uv_transform
Field Value
video
FILE: Optional video texture
Declaration
public ufbx.ufbx_video* video
Field Value
wrap_u
Declaration
public ufbx.ufbx_wrap_mode wrap_u
Field Value
wrap_v
Declaration
public ufbx.ufbx_wrap_mode wrap_v
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