Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_vertex_attrib

    Vertex attribute: All attributes are stored in a consistent indexed format regardless of how it's actually stored in the file. values is a contiguous array of attribute values. indices maps each mesh index into a value in the values array. If unique_per_vertex is set then the attribute is guaranteed to have a single defined value per vertex accessible via: attrib.values.data[attrib.indices.data[mesh-vertex_first_index[vertex_ix]]

    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_vertex_attrib

    Fields

    exists

    Is this attribute defined by the mesh.

    Declaration
    public bool exists
    Field Value
    Type Description
    bool

    indices

    Indices into values[], indexed up to ufbx_mesh.num_indices.

    Declaration
    public ufbx.ufbx_uint32_list indices
    Field Value
    Type Description
    ufbx.ufbx_uint32_list

    unique_per_vertex

    true if this attribute is defined per vertex, instead of per index.

    Declaration
    public bool unique_per_vertex
    Field Value
    Type Description
    bool

    value_reals

    Number of ufbx_real entries per value.

    Declaration
    public ulong value_reals
    Field Value
    Type Description
    ulong

    values

    List of values the attribute uses.

    Declaration
    public ufbx.ufbx_void_list values
    Field Value
    Type Description
    ufbx.ufbx_void_list

    values_w

    Optional 4th 'W' component for the attribute. May be defined for the following: ufbx_mesh.vertex_normal ufbx_mesh.vertex_tangent / ufbx_uv_set.vertex_tangent ufbx_mesh.vertex_bitangent / ufbx_uv_set.vertex_bitangent NOTE: This is not loaded by default, set ufbx_load_opts.retain_vertex_attrib_w.

    Declaration
    public ufbx.ufbx_real_list values_w
    Field Value
    Type Description
    ufbx.ufbx_real_list
    In this article
    Back to top Generated by DocFX