Class ModelAnimation

java.lang.Object
com.raylib.jextract.ModelAnimation

public class ModelAnimation extends Object
struct ModelAnimation {
    int boneCount;
    int frameCount;
    BoneInfo *bones;
    Transform **framePoses;
    char name[32];
}
  • Method Details Link icon

    • layout Link icon

      public static final GroupLayout layout()
      The layout of this struct
    • boneCount$layout Link icon

      public static final ValueLayout.OfInt boneCount$layout()
      Layout for field:
      int boneCount
      
    • boneCount$offset Link icon

      public static final long boneCount$offset()
      Offset for field:
      int boneCount
      
    • boneCount Link icon

      public static int boneCount(MemorySegment struct)
      Getter for field:
      int boneCount
      
    • boneCount Link icon

      public static void boneCount(MemorySegment struct, int fieldValue)
      Setter for field:
      int boneCount
      
    • frameCount$layout Link icon

      public static final ValueLayout.OfInt frameCount$layout()
      Layout for field:
      int frameCount
      
    • frameCount$offset Link icon

      public static final long frameCount$offset()
      Offset for field:
      int frameCount
      
    • frameCount Link icon

      public static int frameCount(MemorySegment struct)
      Getter for field:
      int frameCount
      
    • frameCount Link icon

      public static void frameCount(MemorySegment struct, int fieldValue)
      Setter for field:
      int frameCount
      
    • bones$layout Link icon

      public static final AddressLayout bones$layout()
      Layout for field:
      BoneInfo *bones
      
    • bones$offset Link icon

      public static final long bones$offset()
      Offset for field:
      BoneInfo *bones
      
    • bones Link icon

      public static MemorySegment bones(MemorySegment struct)
      Getter for field:
      BoneInfo *bones
      
    • bones Link icon

      public static void bones(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      BoneInfo *bones
      
    • framePoses$layout Link icon

      public static final AddressLayout framePoses$layout()
      Layout for field:
      Transform **framePoses
      
    • framePoses$offset Link icon

      public static final long framePoses$offset()
      Offset for field:
      Transform **framePoses
      
    • framePoses Link icon

      public static MemorySegment framePoses(MemorySegment struct)
      Getter for field:
      Transform **framePoses
      
    • framePoses Link icon

      public static void framePoses(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      Transform **framePoses
      
    • name$layout Link icon

      public static final SequenceLayout name$layout()
      Layout for field:
      char name[32]
      
    • name$offset Link icon

      public static final long name$offset()
      Offset for field:
      char name[32]
      
    • name Link icon

      public static MemorySegment name(MemorySegment struct)
      Getter for field:
      char name[32]
      
    • name Link icon

      public static void name(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      char name[32]
      
    • name$dimensions Link icon

      public static long[] name$dimensions()
      Dimensions for array field:
      char name[32]
      
    • name Link icon

      public static byte name(MemorySegment struct, long index0)
      Indexed getter for field:
      char name[32]
      
    • name Link icon

      public static void name(MemorySegment struct, long index0, byte fieldValue)
      Indexed setter for field:
      char name[32]
      
    • asSlice Link icon

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof Link icon

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate Link icon

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray Link icon

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret Link icon

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret Link icon

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()