Class AIAnimMesh

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class AIAnimMesh extends Struct<AIAnimMesh> implements NativeResource

 struct aiAnimMesh {
     struct aiString mName;
     struct aiVector3D * mVertices;
     struct aiVector3D * mNormals;
     struct aiVector3D * mTangents;
     struct aiVector3D * mBitangents;
     struct aiColor4D * mColors[Assimp.AI_MAX_NUMBER_OF_COLOR_SETS];
     struct aiVector3D * mTextureCoords[Assimp.AI_MAX_NUMBER_OF_TEXTURECOORDS];
     unsigned int mNumVertices;
     float mWeight;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • MNAME

      public static final int MNAME
      The struct member offsets.
    • MVERTICES

      public static final int MVERTICES
      The struct member offsets.
    • MNORMALS

      public static final int MNORMALS
      The struct member offsets.
    • MTANGENTS

      public static final int MTANGENTS
      The struct member offsets.
    • MBITANGENTS

      public static final int MBITANGENTS
      The struct member offsets.
    • MCOLORS

      public static final int MCOLORS
      The struct member offsets.
    • MTEXTURECOORDS

      public static final int MTEXTURECOORDS
      The struct member offsets.
    • MNUMVERTICES

      public static final int MNUMVERTICES
      The struct member offsets.
    • MWEIGHT

      public static final int MWEIGHT
      The struct member offsets.
  • Constructor Details

    • AIAnimMesh

      public AIAnimMesh(ByteBuffer container)
      Creates a AIAnimMesh instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details