Class AIQuatKey

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class AIQuatKey extends Struct<AIQuatKey> implements NativeResource
A time-value pair specifying a rotation for the given time. Rotations are expressed with quaternions.

Layout


 struct aiQuatKey {
     double mTime();
     struct aiQuaternion mValue();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int MTIME
      The struct member offsets.
    • MVALUE

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

    • AIQuatKey

      public AIQuatKey(ByteBuffer container)
      Creates a AIQuatKey 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