Class AIMatrix4x4.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<AIMatrix4x4>, NativeResource, Pointer
Enclosing class:
AIMatrix4x4

public static class AIMatrix4x4.Buffer extends StructBuffer<AIMatrix4x4,AIMatrix4x4.Buffer> implements NativeResource
An array of AIMatrix4x4 structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new AIMatrix4x4.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by AIMatrix4x4.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • a1

      public float a1()
      Returns:
      the value of the a1 field.
    • a2

      public float a2()
      Returns:
      the value of the a2 field.
    • a3

      public float a3()
      Returns:
      the value of the a3 field.
    • a4

      public float a4()
      Returns:
      the value of the a4 field.
    • b1

      public float b1()
      Returns:
      the value of the b1 field.
    • b2

      public float b2()
      Returns:
      the value of the b2 field.
    • b3

      public float b3()
      Returns:
      the value of the b3 field.
    • b4

      public float b4()
      Returns:
      the value of the b4 field.
    • c1

      public float c1()
      Returns:
      the value of the c1 field.
    • c2

      public float c2()
      Returns:
      the value of the c2 field.
    • c3

      public float c3()
      Returns:
      the value of the c3 field.
    • c4

      public float c4()
      Returns:
      the value of the c4 field.
    • d1

      public float d1()
      Returns:
      the value of the d1 field.
    • d2

      public float d2()
      Returns:
      the value of the d2 field.
    • d3

      public float d3()
      Returns:
      the value of the d3 field.
    • d4

      public float d4()
      Returns:
      the value of the d4 field.
    • a1

      public AIMatrix4x4.Buffer a1(float value)
      Sets the specified value to the a1 field.
    • a2

      public AIMatrix4x4.Buffer a2(float value)
      Sets the specified value to the a2 field.
    • a3

      public AIMatrix4x4.Buffer a3(float value)
      Sets the specified value to the a3 field.
    • a4

      public AIMatrix4x4.Buffer a4(float value)
      Sets the specified value to the a4 field.
    • b1

      public AIMatrix4x4.Buffer b1(float value)
      Sets the specified value to the b1 field.
    • b2

      public AIMatrix4x4.Buffer b2(float value)
      Sets the specified value to the b2 field.
    • b3

      public AIMatrix4x4.Buffer b3(float value)
      Sets the specified value to the b3 field.
    • b4

      public AIMatrix4x4.Buffer b4(float value)
      Sets the specified value to the b4 field.
    • c1

      public AIMatrix4x4.Buffer c1(float value)
      Sets the specified value to the c1 field.
    • c2

      public AIMatrix4x4.Buffer c2(float value)
      Sets the specified value to the c2 field.
    • c3

      public AIMatrix4x4.Buffer c3(float value)
      Sets the specified value to the c3 field.
    • c4

      public AIMatrix4x4.Buffer c4(float value)
      Sets the specified value to the c4 field.
    • d1

      public AIMatrix4x4.Buffer d1(float value)
      Sets the specified value to the d1 field.
    • d2

      public AIMatrix4x4.Buffer d2(float value)
      Sets the specified value to the d2 field.
    • d3

      public AIMatrix4x4.Buffer d3(float value)
      Sets the specified value to the d3 field.
    • d4

      public AIMatrix4x4.Buffer d4(float value)
      Sets the specified value to the d4 field.