docs.unity3d.com
    Show / Hide Table of Contents

    Class Attributes

    Mesh vertex attribute collection. Each property value is the index of the accessor containing attribute’s data.

    Inheritance
    Object
    Attributes
    Inherited Members
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Syntax
    [Serializable]
    public class Attributes

    Fields

    COLOR_0

    Vertex color accessor index.

    Declaration
    public int COLOR_0
    Field Value
    Type Description
    Int32

    JOINTS_0

    Bone joints accessor index.

    Declaration
    public int JOINTS_0
    Field Value
    Type Description
    Int32

    NORMAL

    Vertex normals accessor index.

    Declaration
    public int NORMAL
    Field Value
    Type Description
    Int32

    POSITION

    Vertex position accessor index.

    Declaration
    public int POSITION
    Field Value
    Type Description
    Int32

    TANGENT

    Vertex tangents accessor index.

    Declaration
    public int TANGENT
    Field Value
    Type Description
    Int32

    TEXCOORD_0

    Texture coordinates accessor index.

    Declaration
    public int TEXCOORD_0
    Field Value
    Type Description
    Int32

    TEXCOORD_1

    Texture coordinates accessor index (second UV set).

    Declaration
    public int TEXCOORD_1
    Field Value
    Type Description
    Int32

    TEXCOORD_2

    Texture coordinates accessor index (third UV set).

    Declaration
    public int TEXCOORD_2
    Field Value
    Type Description
    Int32

    TEXCOORD_3

    Texture coordinates accessor index (fourth UV set).

    Declaration
    public int TEXCOORD_3
    Field Value
    Type Description
    Int32

    TEXCOORD_4

    Texture coordinates accessor index (fifth UV set).

    Declaration
    public int TEXCOORD_4
    Field Value
    Type Description
    Int32

    TEXCOORD_5

    Texture coordinates accessor index (sixth UV set).

    Declaration
    public int TEXCOORD_5
    Field Value
    Type Description
    Int32

    TEXCOORD_6

    Texture coordinates accessor index (seventh UV set).

    Declaration
    public int TEXCOORD_6
    Field Value
    Type Description
    Int32

    TEXCOORD_7

    Texture coordinates accessor index (eighth UV set).

    Declaration
    public int TEXCOORD_7
    Field Value
    Type Description
    Int32

    TEXCOORD_8

    Texture coordinates accessor index (ninth UV set).

    Declaration
    public int TEXCOORD_8
    Field Value
    Type Description
    Int32

    WEIGHTS_0

    Bone weights accessor index.

    Declaration
    public int WEIGHTS_0
    Field Value
    Type Description
    Int32

    Methods

    Equals(Object)

    Determines whether two object instances are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    Object.Equals(Object)

    GetHashCode()

    Default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code for the current object.

    Overrides
    Object.GetHashCode()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023