Class AINodeAnim.Buffer

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

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

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new AINodeAnim.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 AINodeAnim.SIZEOF, and its mark will be undefined.

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

    • Buffer Link icon

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

    • mNodeName Link icon

      public AIString mNodeName()
      Returns:
      a AIString view of the mNodeName field.
    • mNumPositionKeys Link icon

      public int mNumPositionKeys()
      Returns:
      the value of the mNumPositionKeys field.
    • mPositionKeys Link icon

      public @Nullable AIVectorKey.Buffer mPositionKeys()
      Returns:
      a AIVectorKey.Buffer view of the struct array pointed to by the mPositionKeys field.
    • mNumRotationKeys Link icon

      public int mNumRotationKeys()
      Returns:
      the value of the mNumRotationKeys field.
    • mRotationKeys Link icon

      public @Nullable AIQuatKey.Buffer mRotationKeys()
      Returns:
      a AIQuatKey.Buffer view of the struct array pointed to by the mRotationKeys field.
    • mNumScalingKeys Link icon

      public int mNumScalingKeys()
      Returns:
      the value of the mNumScalingKeys field.
    • mScalingKeys Link icon

      public @Nullable AIVectorKey.Buffer mScalingKeys()
      Returns:
      a AIVectorKey.Buffer view of the struct array pointed to by the mScalingKeys field.
    • mPreState Link icon

      public int mPreState()
      Returns:
      the value of the mPreState field.
    • mPostState Link icon

      public int mPostState()
      Returns:
      the value of the mPostState field.
    • mNodeName Link icon

      public AINodeAnim.Buffer mNodeName(AIString value)
      Copies the specified AIString to the mNodeName field.
    • mNodeName Link icon

      public AINodeAnim.Buffer mNodeName(Consumer<AIString> consumer)
      Passes the mNodeName field to the specified Consumer.
    • mPositionKeys Link icon

      public AINodeAnim.Buffer mPositionKeys(@Nullable AIVectorKey.Buffer value)
      Sets the address of the specified AIVectorKey.Buffer to the mPositionKeys field.
    • mRotationKeys Link icon

      public AINodeAnim.Buffer mRotationKeys(@Nullable AIQuatKey.Buffer value)
      Sets the address of the specified AIQuatKey.Buffer to the mRotationKeys field.
    • mScalingKeys Link icon

      public AINodeAnim.Buffer mScalingKeys(@Nullable AIVectorKey.Buffer value)
      Sets the address of the specified AIVectorKey.Buffer to the mScalingKeys field.
    • mPreState Link icon

      public AINodeAnim.Buffer mPreState(int value)
      Sets the specified value to the mPreState field.
    • mPostState Link icon

      public AINodeAnim.Buffer mPostState(int value)
      Sets the specified value to the mPostState field.